components
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
- c71a0abePreserve consumer theme specificity with nested tag rulesmre
- 64a2bc27Document CS23b style formatting proof and review statusmre
- a72b57cficons: nest Style rules in the language's formmre
- 927616e2pagination: nest Style rules in the language's formmre
- aab8ad29code-editor: nest Style rules in the language's formmre
- ba30727afile-upload: nest Style rules in the language's formmre
- 42fefa4emodal: nest Style rules in the language's formmre
- 6fd953e3range-picker: nest Style rules in the language's formmre
- f661951ddate-picker: nest Style rules in the language's formmre
- 363577e6media-player: nest Style rules in the language's formmre
- 0b3fd8c9comments: nest Style rules in the language's formmre
- 67e043c8plugins/web/README.md from hybriel cb9e480dmre
- 519b56e9styles.hl: Style in the language's form (nested like the View, one declaration per line, bare @media)mre
- 29f63d01md-editor: Style in the language's form (nested like the View, one declaration per line, bare @media)mre
- 869f49c7files-upload: Style in the language's form (nested like the View, one declaration per line, bare @media)mre
- f60dab20month-view: Style in the language's form (nested like the View, one declaration per line, bare @media)mre
- 5b3c349aRe-vendor to Hybriel set day35 (cb9e480d): plugins core and web sources, README vendoring notemre
- 3449b117components: a startup error prints its message before exit 1 (hybriel#247)mre
- 59704ce1Merge branch 'n5b-pipes'mre
- 23b9164aMdEditor: a clipboard whose text is only the names or file:// paths of its files (a file manager copy) is about the files, as before; any other text wins (tickets#49); gate casesmre