Skip to content

Fix calendar method reference which was causing issues with different input types#131

Open
jam-2x4 wants to merge 1 commit into
dayjs:masterfrom
jam-2x4:patch-1
Open

Fix calendar method reference which was causing issues with different input types#131
jam-2x4 wants to merge 1 commit into
dayjs:masterfrom
jam-2x4:patch-1

Conversation

@jam-2x4

@jam-2x4 jam-2x4 commented Sep 3, 2024

Copy link
Copy Markdown

This reference to the calendar function causes issues in many cases. If you feed the function an epoch date (ms), it would spit out the calendar date of the current time.

This simple change fixes that issue.

Lmk if i did anything wrong. :)

This reference to the calendar function causes issues in many cases.
If you feed the function an epoch date (ms), it would spit out the calendar date of the current time.

This simple change fixes that issue and many others.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant