Skip to content

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

Open
GetNameSniped wants to merge 1 commit intodayjs:masterfrom
GetNameSniped:patch-1
Open

Fix calendar method reference which was causing issues with different input types#131
GetNameSniped wants to merge 1 commit intodayjs:masterfrom
GetNameSniped:patch-1

Conversation

@GetNameSniped
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