rastrillo / fiesta Public

Clone
git clone https://amadan.net/rastrillo/fiesta

Plain git — no account needed to clone.

Download

Download this file

1[
2 {"id": "today", "input": "inniu", "now": "2026-08-28T10:30", "expected": "2026-08-28T09:00"},
3 {"id": "tomorrow", "input": "amárach", "now": "2026-08-28T10:30", "expected": "2026-08-29T09:00"},
4 {"id": "accent-may-be-left-off", "input": "amarach", "now": "2026-08-28T10:30", "expected": "2026-08-29T09:00"},
5 {"id": "yesterday", "input": "inné", "now": "2026-08-28T10:30", "expected": "2026-08-27T09:00"},
6 {"id": "case-and-space-insensitive", "input": " Amárach ", "now": "2026-08-28T10:30", "expected": "2026-08-29T09:00"},
7
8 {"id": "multi-word-in-3-days", "input": "i gceann 3 lá", "now": "2026-08-28T10:30", "expected": "2026-08-31T09:00"},
9 {"id": "multi-word-in-2-weeks", "input": "i gceann 2 seachtain", "now": "2026-08-28T10:30", "expected": "2026-09-11T09:00"},
10 {"id": "in-without-the-particle", "input": "gceann 2 seachtain", "now": "2026-08-28T10:30", "expected": "2026-09-11T09:00"},
11 {"id": "multi-word-days-ago", "input": "2 lá ó shin", "now": "2026-08-28T10:30", "expected": "2026-08-26T09:00"},
12 {"id": "in-2-hours", "input": "i gceann 2 uair", "now": "2026-08-28T10:30", "expected": "2026-08-28T12:30"},
13 {"id": "in-30-minutes", "input": "i gceann 30 nóiméad", "now": "2026-08-28T10:30", "expected": "2026-08-28T11:00"},
14
15 {"id": "multi-word-next-week", "input": "seachtain seo chugainn", "now": "2026-08-28T10:30", "expected": "2026-09-04T09:00"},
16 {"id": "multi-word-last-week", "input": "seachtain seo caite", "now": "2026-08-28T10:30", "expected": "2026-08-21T09:00"},
17 {"id": "multi-word-next-month", "input": "mí seo chugainn", "now": "2026-08-28T10:30", "expected": "2026-09-28T09:00"},
18
19 {"id": "bare-weekday-never-today", "input": "aoine", "now": "2026-08-28T10:30", "expected": "2026-09-04T09:00"},
20 {"id": "next-monday", "input": "luan seo chugainn", "now": "2026-08-28T10:30", "expected": "2026-08-31T09:00"},
21 {"id": "last-monday", "input": "luan seo caite", "now": "2026-08-28T10:30", "expected": "2026-08-24T09:00"},
22
23 {"id": "day-month-clock", "input": "25 noll 18:00", "now": "2026-08-28T10:30", "expected": "2026-12-25T18:00"},
24 {"id": "day-month-year", "input": "25 nollaig 2027", "now": "2026-08-28T10:30", "expected": "2027-12-25T09:00"},
25 {"id": "month-day", "input": "noll 25", "now": "2026-08-28T10:30", "expected": "2026-12-25T09:00"},
26
27 {"id": "noon", "input": "meánlae", "now": "2026-08-28T10:30", "expected": "2026-08-28T12:00"},
28 {"id": "midnight", "input": "meánoíche", "now": "2026-08-28T10:30", "expected": "2026-08-28T00:00"},
29 {"id": "midnight-tomorrow", "input": "meánoíche amárach", "now": "2026-08-28T10:30", "expected": "2026-08-29T00:00"},
30 {"id": "tomorrow-at-a-clock", "input": "amárach ag 18:00", "now": "2026-08-28T10:30", "expected": "2026-08-29T18:00"},
31 {"id": "evening-marker", "input": "6 i.n.", "now": "2026-08-28T10:30", "expected": "2026-08-28T18:00"},
32 {"id": "clock", "input": "14:30", "now": "2026-08-28T10:30", "expected": "2026-08-28T14:30"},
33
34 {"id": "wire-date", "input": "2026-12-25", "now": "2026-08-28T10:30", "expected": "2026-12-25T09:00"},
35 {"id": "numeric-day-first", "input": "25/12/2026", "now": "2026-08-28T10:30", "expected": "2026-12-25T09:00"},
36 {"id": "bare-year", "input": "2030", "now": "2026-08-28T10:30", "expected": "2030-08-28T09:00"},
37
38 {"id": "no-phrase-inside-a-word", "input": "atlas", "now": "2026-08-28T10:30", "expected": null},
39 {"id": "impossible-clock", "input": "25:00", "now": "2026-08-28T10:30", "expected": null},
40 {"id": "article-is-not-in-the-vocabulary", "input": "an tseachtain seo chugainn", "now": "2026-08-28T10:30", "expected": null}
41]
42