gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitaac9a98daac9a98dlog: evening re-measure startmreaac9a98d/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

  • aac9a98dlog: evening re-measure startmre
  • 45163bd4log: person/tmdb error hypothesismre
  • cb38de2blog: swap 503 causemre
  • fd10c3d5log: CB livemre
  • 7557c025log: CB deploy try 2mre
  • 06a7534aMerge branch 'cb'mre
  • 2f8030d6log: CB gates greenmre
  • 498bf644log: CB gates startmre
  • f59c2847gc1: bound the five request caches (shows.hl cacheLimit)mre
  • 6ea2c6d6log: morning re-measure 11-04mre
  • 446290f0log: GC1 livemre
  • 8e6aa91dlog: GC1 deploy retrymre
  • 87ad2dc1log: GC1 deployingmre
  • 53f10fb8Merge branch 'gc1-deploy'mre
  • 7fcbf1d2log: GC1 deploy GOmre
  • 1fb6664bcompose: TRACKER_QSTATS=1 (GC1 measurement)mre
  • 6576c1cdgc1: release the people-view scan lists once the view is builtmre
  • 94f8a373gc1: back out the kept episode-id set (no measurable gain on /my/unwatched: 4.69 -> 4.61 GB per 150 loads)mre
  • a1a88bd4gc1: search skips the stale-key string while no entry is stale; /my/unwatched asks a kept id set instead of building a key string per episode rowmre
  • cd830744gc1: dbSearch: no split / map / list copy per candidate (scores from the stored text, top list touched only when the hit can enter)mre