iamkun / iamkun/dayjs

Question/feature request - first class support for application testing

Open
#2,832 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
48.7k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

This is relevant for any type of testing - unit tests, integration tests, manual tests etc.
Sometimes it is crucial to override the current date or other environment properties, such as locale or time zone.

While mocking date works for most cases, it would be nice to also easily emulate changes to timezones and locale

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.