parent
e058dd58e5
commit
45559f7cf0
|
@ -54,7 +54,7 @@ function pad(n) {
|
|||
function twelveHourTime(date) {
|
||||
let hours = date.getHours() % 12;
|
||||
const minutes = pad(date.getMinutes());
|
||||
const ampm = date.getHours() >= 12 ? 'PM' : 'AM';
|
||||
const ampm = date.getHours() >= 12 ? _t('PM') : _t('AM');
|
||||
hours = hours ? hours : 12; // convert 0 -> 12
|
||||
return `${hours}:${minutes}${ampm}`;
|
||||
}
|
||||
|
|
|
@ -421,6 +421,8 @@
|
|||
"Notifications": "Notifications",
|
||||
"(not supported by this browser)": "(not supported by this browser)",
|
||||
"<not supported>": "<not supported>",
|
||||
"AM": "AM",
|
||||
"PM": "PM",
|
||||
"NOT verified": "NOT verified",
|
||||
"No devices with registered encryption keys": "No devices with registered encryption keys",
|
||||
"No display name": "No display name",
|
||||
|
|
|
@ -120,6 +120,8 @@
|
|||
"zh-sg": "Chinese (Singapore)",
|
||||
"zh-tw": "Chinese (Taiwan)",
|
||||
"zu": "Zulu",
|
||||
"AM": "AM",
|
||||
"PM": "PM",
|
||||
"A text message has been sent to +%(msisdn)s. Please enter the verification code it contains": "A text message has been sent to +%(msisdn)s. Please enter the verification code it contains",
|
||||
"accept": "accept",
|
||||
"%(targetName)s accepted an invitation.": "%(targetName)s accepted an invitation.",
|
||||
|
|
Loading…
Reference in New Issue