mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
remove XXX that is actually O.K.
This commit is contained in:
parent
e5f1fb937f
commit
af7027e5ed
@ -1412,7 +1412,7 @@ define([
|
||||
var is24h = false;
|
||||
var dateFormat = "Y-m-d H:i";
|
||||
try {
|
||||
is24h = !new Intl.DateTimeFormat(navigator.language, { hour: 'numeric' }).format(0).match(/AM/); // XXX
|
||||
is24h = !new Intl.DateTimeFormat(navigator.language, { hour: 'numeric' }).format(0).match(/AM/);
|
||||
} catch (e) {}
|
||||
if (!is24h) { dateFormat = "Y-m-d h:i K"; }
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user