Are there any format tokens to display day of month as an ordinal number, eg 1st ,2nd ,3rd ? #1589
Answered
by
diesieben07
cheekybuddha
asked this question in
Q&A
-
If the requirement is to return a date in the format: Or do I just have to use d or dd and try and perform some string-fu afterwards? Apologies if this has been discussed before, couldn't find anything in a search. |
Beta Was this translation helpful? Give feedback.
Answered by
diesieben07
Jan 28, 2024
Replies: 1 comment 1 reply
-
Unfortunately there is no Browser API to do this kind of formatting. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
cheekybuddha
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unfortunately there is no Browser API to do this kind of formatting.
See these issues:
#1411
#118
tc39/ecma402#494