kunibert
All repositories: gitoria
979 B
\* The native half of plugins/time/tests/parity.mjs: the same calls client.js answers, printed one per line. *\import { timestamp, offset, local, fromLocal, localTimestamp, isZone } from 'hl:time'cases = [{ zone = 'Europe/Vienna'; y = 2026; m = 3; d = 29; h = 2; mi = 30 }{ zone = 'Europe/Vienna'; y = 2026; m = 10; d = 25; h = 2; mi = 30 }{ zone = 'America/New_York'; y = 2026; m = 3; d = 8; h = 2; mi = 30 }{ zone = 'America/New_York'; y = 2026; m = 11; d = 1; h = 1; mi = 30 }{ zone = 'Europe/Vienna'; y = 1970; m = 1; d = 1; h = 0; mi = 0 }{ zone = 'America/New_York'; y = 1970; m = 6; d = 1; h = 12; mi = 0 }{ zone = 'Europe/Vienna'; y = 2026; m = 7; d = 1; h = 12; mi = 0 }]for (c of cases) {t = fromLocal({ year = c.y; month = c.m; day = c.d; hour = c.h; minute = c.mi }, c.zone)print(c.zone + ' ' + t + ' ' + offset(t, c.zone) + ' ' + localTimestamp(t, c.zone) + ' ' + timestamp(t) + ' ' + JSON.stringify(local(t, c.zone)) + ' ' + isZone(c.zone))}
Branches
Latest commits
- bb0976acrecords: hycon PR 259 design findingmre
- 5c637c24records: hycon PR 259 false tool errormre
- a344c406log: routger 132 reviewedmre
- 56e70dcbrecords: review time limit 1800 s (routger 132)mre
- c3a304c5Merge branch 'job-timeout' into mainKunibert
- 402bfeb0|||PR runner: the model run uses the job's time limit (jobTimeoutSeconds), not a fixed 900 smre
- 8d34ca33records: repo rename (gitoria#53)mre
- 1e05cb3fMerge branch 'repo-rename' into mainKunibert
- 6ee0d2e9|||PR intake: match a delivery by repo.id and signature, not URLs (gitoria#53 rename)mre
- 900ffcd4status: routgermre
- 59b0b793log: routger merge waitmre
- e52f094alog: routger intake check (hycon#122)mre
- f979027frecords: design rule livemre
- 71efaf84Merge branch 'design-guard' into mainKunibert
- c0656581|||PR Flag removal of a documented design as major unless his recorded yes is linked; rules version 5mre
- 901cdd75records: L10 update 2 livemre
- 4a68016bMerge branch 'hl-standard-l10b' into mainKunibert
- 246d0f30|||PR HL-STANDARD L10 update (hybriel ab293e5a), rules version 4mre
- 1aa4d64crecords: HL-STANDARD L10 update livemre
- 2b04c240Merge branch 'hl-standard-l10' into mainKunibert