diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-12-12 02:09:15 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-12-12 02:09:15 +0100 |
| commit | 41d0bd185c19c8a51ed9b85700f52181b6cc5012 (patch) | |
| tree | 76d4524fff4221da47e57ea0bcdb0917d592b5d1 /public/assets/js/util/format.js | |
| parent | ce73133c4e982db99f218bf930d82eb991ce81e3 (diff) | |
color stuff, building settings form
Diffstat (limited to 'public/assets/js/util/format.js')
| -rw-r--r-- | public/assets/js/util/format.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/public/assets/js/util/format.js b/public/assets/js/util/format.js index be7e3c0..4630fc9 100644 --- a/public/assets/js/util/format.js +++ b/public/assets/js/util/format.js @@ -58,7 +58,8 @@ function verbose_date (date, no_pad_hours) { if (m < 10) m = "0" + m if (! no_pad_hours && h < 10) h = "0" + h - var date = d + '‑' + short_months[date.getMonth()] + '‑' + date.getFullYear() + // non-breaking hyphen: ‑ + var date = d + ' ' + short_months[date.getMonth()] + ' ' + date.getFullYear() var time = h + ':' + m + meridian return [date, time] |
