Skip to content

weekOfYear week method doesn't seems to handle week number 53 for 'uz-latn' locale (Uzbek latin locale) #3061

@rahulpratik

Description

@rahulpratik

Describe the bug
I have an issue with the dayjs week() method compared with the moment.js one.
My issue is probably linked to this one #3048

Expected behavior
I tried with that date: 2020-12-31, which is supposed to be a day in the week number 53. (if i refer to this http://www.whatweekisit.org/). But it returns week number as 1

Information

  • Day.js Version [e.g. v1.11.20]
  • OS: [Mac OS]
  • Browser [Chrome 147]
  • Time zone: [UZT]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions