iamkun / iamkun/dayjs

dayjs('2023-01-05 03:45:00').tz('Africa/Accra', true).format('YYYY-MM-DDTHH:mm:ss.SSSZZ')

Open
#2,191 2 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**
The time will change after setting the time format of the time zone offset 0

**Expected behavior**
time does not change

**Information**
- Day.js Version [e.g. v1.11.7]
- OS: [e.g. iOS]
- Browser [e.g. chrome 108]
- Time zone: [e.g. GMT-00:00 DST (Pacific Daylight Time)]

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.