aboutsummaryrefslogtreecommitdiffstats
path: root/resources/lib/moment/lang/cy.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/lib/moment/lang/cy.js')
-rw-r--r--resources/lib/moment/lang/cy.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/lib/moment/lang/cy.js b/resources/lib/moment/lang/cy.js
index 5cd8476b9b9b..6231a52e51db 100644
--- a/resources/lib/moment/lang/cy.js
+++ b/resources/lib/moment/lang/cy.js
@@ -1,5 +1,5 @@
-// moment.js language configuration
-// language : Welsh (cy)
+// moment.js locale configuration
+// locale : Welsh (cy)
// author : Robert Allen
(function (factory) {
@@ -11,7 +11,7 @@
factory(window.moment); // Browser global
}
}(function (moment) {
- return moment.lang("cy", {
+ return moment.defineLocale("cy", {
months: "Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),
monthsShort: "Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),
weekdays: "Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),