capaj

capaj/set-tz

sets the timezone for your node.js process across all OSes

JavaScript
40
5
MIT License

`set-tz` is a utility for setting the timezone of a Node.js process, primarily used to standardize tests (like with Jest) to UTC regardless of the host machine's locale. It handles OS differences by converting IANA timezones to Windows identifiers on Windows, though it modifies the system timezone on Windows and only the environment variable on other OSes. The project is now deprecated for Node.js 16 and lower, as

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of capaj/set-tz

Account's avatar
A small tool to convert between Windows time zones and IANA
Account's avatar
Node.js test runner that lets you develop with confidence.
Account's avatar
Modern native Git hooks

Support the repos that depend on capaj/set-tz

Top contributors

capaj's profile
capaj
17 contributions
willyboy's profile
willyboy
8 contributions
movermeyer's profile
movermeyer
2 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet