Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get('day') returns week of the year #829

Closed
ray-kay opened this issue Mar 9, 2020 · 1 comment
Closed

get('day') returns week of the year #829

ray-kay opened this issue Mar 9, 2020 · 1 comment

Comments

@ray-kay
Copy link

ray-kay commented Mar 9, 2020

Describe the bug
dayjs().get('day') returns week of the year

Expected behavior
dayjs().get('day') should return calendar day of current month

Information

  • Day.js Version [e.g. v1.8.22]
  • OS: Windows 7 Prof
  • Browser latest Chrome 80
  • Time zone: CET
@iamkun
Copy link
Owner

iamkun commented Mar 9, 2020

Please check here as a reference https://day.js.org/docs/en/get-set/get#list-of-all-available-units

@iamkun iamkun closed this as completed Mar 9, 2020
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

No branches or pull requests

2 participants