Skip to content

Data

tilttek/geek-dates

data/dates.php holds the shipped entries, one row per entry, and data/VERSION the day they last changed, such as 2026.11.21. A row has the fields EntryReader reads: id, names, rule, source, community, verified, and optionally tags, days and status.

Entries

Every rule below was checked against its source on 2026-11-21.

IdentifierRuleCommunityTags
tolkien-birthday-toast01-03tolkien-readersbooks, fantasy
pi-day03-14worldwidemathematics, science
tolkien-reading-day03-25tolkien-readersbooks, fantasy
world-backup-day03-31worldwidecomputing
yuris-night04-12worldwidespace, science
may-the-fourth05-04star-wars-fansfilms, science-fiction
towel-day05-25douglas-adams-readersbooks, science-fiction, humour
geek-pride-day05-25worldwidegeek-culture
tau-day06-28worldwidemathematics, science
asteroid-day06-30worldwidespace, science
sysadmin-daylast friday of julyworldwidecomputing
programmers-dayday 256worldwidecomputing
software-freedom-day3rd saturday of septemberworldwidecomputing, free-software
talk-like-a-pirate-day09-19worldwidehumour
hobbit-day09-22tolkien-readersbooks, fantasy
world-space-week10-04, 7 daysworldwidespace, science
ada-lovelace-day2nd tuesday of octoberworldwidescience, computing, women-in-science
mole-day10-23chemistry-teacherschemistry, science

day 256 is September 13, or September 12 in a leap year. may-the-fourth is named after the fans' pun, the day they keep, not after the brand.

Sources

Each entry's rule comes from the address in its source field; the names are the package's own, and no text of a source is copied. The sources are:

What the data leaves out

  • Commercial "national days". The lists of a calendar service are its own content, often promotional: none is copied.
  • A date a brand declares about itself. A company's day for its own product is its marketing, not a date of the community.
  • Brand names and logos as the package's mark. A name appears only where it says which day it is.
  • Convention dates. A convention sets its date each year: the application adds it, as below.
  • A date that is not sure. An entry whose rule its source does not confirm is left out rather than guessed.

Adding an entry

An application adds its own entries without changing the shipped file:

$catalog = Catalog::shipped($zone, new EntryReader()->readAll([
    [
        'id' => 'local-con',
        'names' => ['en' => 'Local convention', 'fr' => 'Convention locale'],
        'rule' => '3rd saturday of june',
        'days' => 2,
        'source' => 'https://convention.example/dates',
        'community' => 'montreal',
        'verified' => '2026-11-21',
        'tags' => ['convention'],
        'status' => 'to-verify',
    ],
]));

An identifier the catalog already holds is refused. Check rows read from a file or a form first with new DataCheck()->problems($rows), which lists every problem instead of stopping at the first.

To propose an entry for the shipped data: add its row to data/dates.php in date order, with a source that states the rule, verified set to the day it was checked, and data/VERSION set to that day; then add it to the tables above. The data test reads every row, computes every entry over common and leap years, and fails on any problem.