aboutsummaryrefslogtreecommitdiffstats
path: root/resources/lib/moment/locale/bo.js
diff options
context:
space:
mode:
authorJames D. Forrester <jforrester@wikimedia.org>2025-03-27 18:52:52 -0400
committerJames D. Forrester <jforrester@wikimedia.org>2025-04-06 08:22:16 -0400
commitc2b16b995d9db4f2da14af5e55bded40cbff82d2 (patch)
tree0d168c2e822a176f95f32e904c0bed5b8f0b312a /resources/lib/moment/locale/bo.js
parent2a5cf3fde93263156557bc1efd21c5a74ce67725 (diff)
downloadmediawikicore-c2b16b995d9db4f2da14af5e55bded40cbff82d2.tar.gz
mediawikicore-c2b16b995d9db4f2da14af5e55bded40cbff82d2.zip
Upgrade moment from v2.25.2 to v2.30.1
Five new locales, two of which map to supported languages in core (ku-kmr -> ku, and tk -> tk), and three of which don't but are added in for future support and for languages that might be configured in production systems (ar-ps, bn-bd, and es-mx). Bug: T389416 Change-Id: Ic69ddf92f922515bf36a2ea1770b2c8ebd2c46b2
Diffstat (limited to 'resources/lib/moment/locale/bo.js')
-rw-r--r--resources/lib/moment/locale/bo.js34
1 files changed, 18 insertions, 16 deletions
diff --git a/resources/lib/moment/locale/bo.js b/resources/lib/moment/locale/bo.js
index 1b514e4b98b1..c4a7c5210982 100644
--- a/resources/lib/moment/locale/bo.js
+++ b/resources/lib/moment/locale/bo.js
@@ -12,16 +12,16 @@
//! moment.js locale configuration
var symbolMap = {
- '1': '༡',
- '2': '༢',
- '3': '༣',
- '4': '༤',
- '5': '༥',
- '6': '༦',
- '7': '༧',
- '8': '༨',
- '9': '༩',
- '0': '༠',
+ 1: '༡',
+ 2: '༢',
+ 3: '༣',
+ 4: '༤',
+ 5: '༥',
+ 6: '༦',
+ 7: '༧',
+ 8: '༨',
+ 9: '༩',
+ 0: '༠',
},
numberMap = {
'༡': '1',
@@ -40,14 +40,16 @@
months: 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split(
'_'
),
- monthsShort: 'ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12'.split(
- '_'
- ),
+ monthsShort:
+ 'ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12'.split(
+ '_'
+ ),
monthsShortRegex: /^(ཟླ་\d{1,2})/,
monthsParseExact: true,
- weekdays: 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split(
- '_'
- ),
+ weekdays:
+ 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split(
+ '_'
+ ),
weekdaysShort: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split(
'_'
),