• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

panates / postgrejs / 37460023112
98%
master: 89%

Build:
Build:
LAST BUILD BRANCH: dev
DEFAULT BRANCH: master
Ran 06 Oct 2026 12:00PM UTC
Jobs 1
Files 129
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Oct 2026 11:58AM UTC coverage: 98.329%. Remained the same
37460023112

push

github

erayhanoglu
test: build the two zone-sensitive date cases from local parts

Both predicates a `Date` parameter is matched against read the local
clock - `TimeType.isType` asks `getFullYear`/`getMonth`/`getDate` for the
epoch day, `DateType.isType` asks `getHours` and the rest for midnight -
and the text a Date goes out as is its local wall clock too. Two tests
named their value as an instant in UTC instead, so what they were really
asserting moved with the zone:

- `new Date('1970-01-01T05:00:00Z')` is 05:00 on the epoch day at UTC and
  expects `time`; at UTC-5 it is local midnight, where `DateType` claims
  it first and the answer is `date`.
- `new Date(Date.UTC(2024, 5, 15))` is the 15th at UTC and is compared
  against `'2024-06-15'::date`; at UTC-5 it is the 14th at 20:00, and the
  date that goes out is the 14th.

Built from local parts now, which is what the neighbouring cases in both
files already do - `new Date(1970, 0, 1)` for the midnight one.

Nothing in `src/` changes: the library reads one clock consistently, and
these were the tests disagreeing with it rather than the other way round.
Checked at UTC, UTC-5, UTC+3, UTC+10 and UTC+14 - 2121 tests in every
one, with the DST-fold case in `timestamptz-binary.spec.ts` self-skipping
where a zone has no repeated hour, which is what it is written to do.

4146 of 4361 branches covered (95.07%)

Branch coverage included in aggregate %.

21867 of 22094 relevant lines covered (98.97%)

1894.42 hits per line

Jobs
ID Job ID Ran Files Coverage
1 37460023112.1 06 Oct 2026 12:00PM UTC 129
98.33
GitHub Action Run
Source Files on build 37460023112
  • Tree
  • List 129
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #37460023112
  • 26f92ce1 on github
  • Prev Build on dev (#37458825415)
  • Next Build on dev (#37461162404)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc