Skip to content

Commit 63fe479

Browse files
committed
[misc] Make code ES6 compatible
1 parent 0f0195f commit 63fe479

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/locale/ku-kmr.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ export default moment.defineLocale('ku-kmr', {
108108
yy: processRelativeTime,
109109
},
110110
dayOfMonthOrdinalParse: /\d{1,2}(?:yê|ê|\.)/,
111-
ordinal: (num, period) => {
112-
let p = period.toLowerCase();
111+
ordinal: function (num, period) {
112+
var p = period.toLowerCase();
113113
if (p.includes('w') || p.includes('m')) return num + '.';
114114

115115
return num + ezafeNumSuffix(num);

0 commit comments

Comments
 (0)