iamkun / iamkun/dayjs

Plain Date and Time support

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

Description

The [upcoming Temporal API](https://tc39.es/proposal-temporal/) being proposed at TC39 has the concept of ["Plain" date and time](https://tc39.es/proposal-temporal/docs/plaindatetime.html) representation, that is, absolute values not associated with any timezone.

This is useful on many scenarios specifically when building calendars, where there is need for iterating through days and times without considering any timezone (for building the UI around events for example).

Is there a plugin already built to solve for this kind of use case? Is this even achievable within Day.js inner state?

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked TC39 Temporal proposal, especially the Plain date and time representation, then inspect how Day.js represents dates internally. Determine whether the requested timezone-independent behavior fits the existing inner state or requires a plugin. Done means documenting a concrete implementation scope or confirming that an existing plugin already covers the use case.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.