gitoria

notes

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit8f7a6a958f7a6a95gate: MN phone checks (list header gutter, back gap, delete question)mre8f7a6a95/plugins/time/tests/parity.hl

979 B

  1. \* The native half of plugins/time/tests/parity.mjs: the same calls client.js answers, printed one per line. *\
  2. import { timestamp, offset, local, fromLocal, localTimestamp, isZone } from 'hl:time'
  3. cases = [
  4. { zone = 'Europe/Vienna'; y = 2026; m = 3; d = 29; h = 2; mi = 30 }
  5. { zone = 'Europe/Vienna'; y = 2026; m = 10; d = 25; h = 2; mi = 30 }
  6. { zone = 'America/New_York'; y = 2026; m = 3; d = 8; h = 2; mi = 30 }
  7. { zone = 'America/New_York'; y = 2026; m = 11; d = 1; h = 1; mi = 30 }
  8. { zone = 'Europe/Vienna'; y = 1970; m = 1; d = 1; h = 0; mi = 0 }
  9. { zone = 'America/New_York'; y = 1970; m = 6; d = 1; h = 12; mi = 0 }
  10. { zone = 'Europe/Vienna'; y = 2026; m = 7; d = 1; h = 12; mi = 0 }
  11. ]
  12. for (c of cases) {
  13. t = fromLocal({ year = c.y; month = c.m; day = c.d; hour = c.h; minute = c.mi }, c.zone)
  14. print(c.zone + ' ' + t + ' ' + offset(t, c.zone) + ' ' + localTimestamp(t, c.zone) + ' ' + timestamp(t) + ' ' + JSON.stringify(local(t, c.zone)) + ' ' + isZone(c.zone))
  15. }

Branches

Latest commits

  • 8f7a6a95gate: MN phone checks (list header gutter, back gap, delete question)mre
  • 90c73ed3notes mobile: back link gapmre
  • 72bd4f83notes mobile: list header on the gutter, delete confirmation as a question + two equal buttons, Delete note under the editor edgemre
  • ba1e73f8notes: a sent edit is done once the server's version is not older, so a second writer's text shows in the first tab; gate: two writers both waysmre
  • c69ef9ebsync components.hybriel 134b4e3: MdEditor builds an editor put into the page at once, redraws a surface put in anew (F5, hybriel#211)mre
  • 2eb783f5sync components 9a: shared Icon (icons/icons.hl), md-editor toolbar icons + single focus ring (components f4-icons ba96735)mre
  • 4dd46dadsync-components: copy icons/icons.hl + README (F4); testsmre
  • c92e4a0ftests/e2e-outside.mjs: real-Chrome E2E, a note pushed from another device while open, then typingmre
  • 0516b4ccmd-editor.hl: verbatim copy of components f3-mdvalue (an older text handed back is kept)mre
  • 38cc11ecmd-editor.hl: verbatim copy of components f3-mdvalue (an outside value change is shown by the editor)mre
  • 3e7e79f5reports/H1-hydrate.mdmre
  • d98775e8tests/browser.mjs: wait for hydration before the clicks after a goto('/') (tables new note, phone sidebar)mre
  • 1f3198b6tests/cdp.mjs: HL_CPU_THROTTLE=<rate> optional CPU throttling for gate runsmre
  • 39cf9fdfre-vendor Hybriel 5406d146 (hl:web batches 9+10: #72 emits while the socket is closed delivered after reconnect, browser boot linear, faster list appends; contains int 6–14 + m406)mre
  • db07aa84tests: short-id-switch ports from env (NOTES_SWITCH_IDENT_PORT/_PORT), defaults unchangedmre
  • ef9f9feere-vendor Hybriel 6f8a0689 (int 6–11: streaming cursors, #203 index heal + close() fix, fd403 listDir/cursor fds, hl:time browser side, hl:web batches 5+6)mre
  • 5485467cdocker-compose: nofile 65536 (Hybriel int 6+ boot opened >1024 files in the tracker)mre
  • 86ea4a85deploy: backup copies index files first and *.mpack data last (hot-copy skew, hybriel #203)mre
  • edeab20fnotes mission 015: mission, report, LOG, STATUSmre
  • 542a0383notes mission 015: e2e-chrome E2E_HOST (own cookie jar in the shared Chrome)mre