Skip to content

Commit

Permalink
added timezone name
Browse files Browse the repository at this point in the history
  • Loading branch information
Sumandari committed Aug 19, 2022
1 parent af99c7b commit f2b9eb4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qgis-app/static/js/local_timezone.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ function toUserTimeZone(date) {
date = new Date(date);
let options = {
year: 'numeric', month: 'short', day: 'numeric',
hour: '2-digit', minute: '2-digit'
hour: '2-digit', minute: '2-digit',
timeZoneName: 'short'
}
return date.toLocaleDateString([], options);
} catch (e) {
Expand Down

0 comments on commit f2b9eb4

Please sign in to comment.