Skip to content

Commit

Permalink
[locale] (en-sg) Rename locale en-SG to en-sg (#5025)
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Novy authored and marwahaha committed May 7, 2019
1 parent d0f0dd8 commit 92a58a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/locale/en-SG.js → src/locale/en-sg.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
//! moment.js locale configuration
//! locale : English (Singapore) [en-SG]
//! locale : English (Singapore) [en-sg]
//! author : Matthew Castrillon-Madrigal : https://github.com/techdimension

import moment from '../moment';

export default moment.defineLocale('en-SG', {
export default moment.defineLocale('en-sg', {
months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
Expand Down
2 changes: 1 addition & 1 deletion src/test/locale/en-SG.js → src/test/locale/en-sg.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {test} from '../qunit';
import {localeModule} from '../qunit-locale';
import moment from '../../moment';
localeModule('en-SG');
localeModule('en-sg');

test('parse', function (assert) {
var tests = 'January Jan_February Feb_March Mar_April Apr_May May_June Jun_July Jul_August Aug_September Sep_October Oct_November Nov_December Dec'.split('_'), i;
Expand Down

0 comments on commit 92a58a5

Please sign in to comment.