gitoria

tickets

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit772e0696772e0696|||PR Allow project admins to move tickets between their projectsmre772e0696/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

  • 772e0696|||PR Allow project admins to move tickets between their projectsmre
  • be92a560Merge branch 'records' into mainTickets
  • 0daf2ea8|||PR records: PR-only workflow, #50 donemre
  • 0185d0b6Log PR 1 deploymre
  • f5bf16e2Mission 031: deploy PR 1mre
  • c69cd5f3Merge branch 'pr-flow' into mainTickets
  • cc56798cLog gitoria PR-only requestmre
  • d876d0b2|||PR README: changes land as PRsmre
  • fd83ac1fconductor: caramboleyo is the user, not owner/creatorApollo
  • 3b858c91Log backup hard-link fixmre
  • 7f6b37a0deploy.sh backup: tar --hard-dereference (hard links broke mpackdb sidecars on restore)mre
  • e93711d9Log E30 livemre
  • 59c02e4dMerge e30: preserve edited state note labels in Markdownmre
  • 30970796Log E30 deploy GOmre
  • 7c8e6d83Limit edited state note fix to Markdown renderingmre
  • 910536d0Log E30 reviewmre
  • 36984386Preserve state transitions when their notes are editedmre
  • d75cb946Log E30 startmre
  • 0bf3fefaMission 030: edited state note labelmre
  • 691565c6Log neutral-ticket rule checkmre