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

Support the microsecond formatting #2453

Open
starwilly opened this issue Sep 20, 2023 · 2 comments
Open

Support the microsecond formatting #2453

starwilly opened this issue Sep 20, 2023 · 2 comments

Comments

@starwilly
Copy link

Describe the bug
Currently, day.js is able to parse microseconds, which #1010 adds.
Can it also support microsecond formatting?

Expected behavior
A clear and concise description of what you expected to happen.

const d = dayjs('2019-03-25T06:41:00.999888');
d.format('YYYY-MM-DD HH:mm:ss SSSSSS')

// "2019-03-25 06:41:00 999888"
@bombillazo
Copy link

I second this feature request! I'd like to keep consistency with my DB values as much as possible in my frontend

@SpencerHancock
Copy link

Please add this, it makes me sad as my frontend can't provide datetimes with which to query the backend.

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

3 participants