- commit
- 85c6febd9209dd9134bf6853341c6aae2cfb5a67
- parent
- e823027e0ba5894cb19ca416956ba36242605fba
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2024-09-15 08:18
fix date tooltip format
Diffstat
| M | content/js/util.js | 2 | +- |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/js/util.js b/content/js/util.js
@@ -78,7 +78,7 @@ export var createIcon = function(key, label) {
78 78
79 79 export var createDate = function(date) {
80 80 var now = new Date();
81 -1 return h('time', {'class': 'date', 'title': date.toLocaleString()}, [
-1 81 return h('time', {'class': 'date', 'title': date.toLocaleString('sv')}, [
82 82 date.toDateString() === now.toDateString()
83 83 ? date.toLocaleTimeString('sv')
84 84 : date.toLocaleDateString('sv')