iamkun / iamkun/dayjs

Parse String format with semicolon returns incorrect hour, using space instead will get the correct hour.

Open
#2,129 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
48.7k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
![image](https://user-images.githubusercontent.com/39258337/202107170-81284697-c88d-4a17-8f98-3f44002339b3.png)

my date format has semicolon separator between date and time, even though I put the format to parse with semicolon in between them, it returned the wrong hours. If I changed it to space, works just fine.

**Expected behavior**
Return correct format as described string format.

**Information**
- Day.js Version 1.11.6
- OS: Android 9
- Browser: Web View 74.0.3729.136
- Time zone: GMT+08:00

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.