Closed danielbraun closed 7 years ago
Hey, How do you format a date time according to a certain timezone? Timezones are always printed as the JVM default timezone:
Example: (tower/fmt :en (java.util.Date.) :dt-long) => "April 18, 2016 10:48:45 AM PDT"
(tower/fmt :en (java.util.Date.) :dt-long)
"April 18, 2016 10:48:45 AM PDT"
What if I wanted to print the date according to the user's timezone? I've been digging around the codebase and couldn't find the answer.
Hey, How do you format a date time according to a certain timezone? Timezones are always printed as the JVM default timezone:
Example:
(tower/fmt :en (java.util.Date.) :dt-long)
=>"April 18, 2016 10:48:45 AM PDT"
What if I wanted to print the date according to the user's timezone? I've been digging around the codebase and couldn't find the answer.