mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 22:27:49 +08:00
FIX: force date-picker to work with english locale
This commit is contained in:
5
lib/javascripts/moment_locale/si.js
Normal file → Executable file
5
lib/javascripts/moment_locale/si.js
Normal file → Executable file
@ -17,6 +17,7 @@
|
||||
weekdays : 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split('_'),
|
||||
weekdaysShort : 'ඉරි_සඳු_අඟ_බදා_බ්රහ_සිකු_සෙන'.split('_'),
|
||||
weekdaysMin : 'ඉ_ස_අ_බ_බ්ර_සි_සෙ'.split('_'),
|
||||
weekdaysParseExact : true,
|
||||
longDateFormat : {
|
||||
LT : 'a h:mm',
|
||||
LTS : 'a h:mm:ss',
|
||||
@ -52,6 +53,10 @@
|
||||
ordinal : function (number) {
|
||||
return number + ' වැනි';
|
||||
},
|
||||
meridiemParse : /පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,
|
||||
isPM : function (input) {
|
||||
return input === 'ප.ව.' || input === 'පස් වරු';
|
||||
},
|
||||
meridiem : function (hours, minutes, isLower) {
|
||||
if (hours > 11) {
|
||||
return isLower ? 'ප.ව.' : 'පස් වරු';
|
||||
|
Reference in New Issue
Block a user