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

Getting AM/PM #80

Closed
nahid opened this issue Apr 30, 2018 · 4 comments
Closed

Getting AM/PM #80

nahid opened this issue Apr 30, 2018 · 4 comments

Comments

@nahid
Copy link

nahid commented Apr 30, 2018

How do I get AM/PM? There are no options to getting AM/PM I found.

@adamwirth
Copy link

adamwirth commented Apr 30, 2018

can just do something like dayjs().hour() >= 12 ? 'PM' : 'AM'

@iamkun
Copy link
Owner

iamkun commented Apr 30, 2018

Agree with @adamwirth.

Besides, we are considering adding some extra useful format options(A/a | AM PM). Join our discussion here #60 .

@schiem
Copy link
Contributor

schiem commented May 2, 2018

@adamwirth This is introduced in #91

@iamkun
Copy link
Owner

iamkun commented May 3, 2018

new release fixed. THX

@iamkun iamkun closed this as completed May 3, 2018
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

4 participants