Replies: 1 comment 1 reply
-
Maybe a prototype of such function would be this one:
I would assume tokens 'year', 'month', 'day', 'hour', 'minute', 'second', 'millisecond' are sufficient. Other tokens are not required and some of them would not be possible, anyway. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I run
DateTime.now().toLocaleString(DateTime.DATE_SHORT)
then luxon return local string as'17.3.2025'
. Is it possible to do it the other way around?do not work. Or maybe is there any possibility to get
dd.MM.yyyy
out fromDateTime.DATE_SHORT
?Beta Was this translation helpful? Give feedback.
All reactions