Skip to content

Commit

Permalink
Changes the default date patterns to use long months
Browse files Browse the repository at this point in the history
  • Loading branch information
andyearnshaw committed May 15, 2014
1 parent ee2dec6 commit 4062035
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tools/Ldml2Json.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,21 +353,21 @@ function processObj(data) {
*/
var formats = [
// 'weekday', 'year', 'month', 'day', 'hour', 'minute', 'second'
[ 'hms', 'yMMMEd' ],
[ 'hms', 'yMMMMEEEEd' ],

// 'weekday', 'year', 'month', 'day'
[ '', 'yMMMEd' ],
[ '', 'yMMMMEEEEd' ],

// 'year', 'month', 'day'
[ '', 'yMMMd'],
[ '', 'yMd' ],
[ '', 'yMMMMd'],
[ '', 'yMd'],

// 'year', 'month'
[ '', 'yM' ],
[ '', 'yMMM' ],
[ '', 'yMMMM' ],

// 'month', 'day'
[ '', 'MMMd' ],
[ '', 'MMMMd' ],
[ '', 'Md' ],

// 'hour', 'minute', 'second'
Expand Down

0 comments on commit 4062035

Please sign in to comment.