iamkun / iamkun/dayjs

Missing daylight saving time (DST) - equivalent to moment().isDST()

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

Description

**Time zone extension: new method on zone**
Boolean: true if a time zone is observing daylight saving for particular date-time.

**For example**
>dayjs().tz("Europe/London").isDST()
false

Contributor guide

Open the contributing guide

Research direction

Start by reading the timezone extension and its existing zone methods. Determine how a particular date-time is classified as observing daylight saving time, then verify the requested isDST() behavior for Europe/London, where the example expects false. Done means the new method returns a boolean for the selected date-time.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.