Skip to content

wrong result #247

Description

@hamedg68

If we have this format 2023-05-08T22:30:00+00:00
and want to formating this string to this format YYYY-MM-DD, the result is 2023-05-09 while I want 2023-05-08 as result . why?

moment('2023-05-08T22:30:00+00:00').format('YYYY-MM-DD'), get this result => 2023-05-09

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions