Skip to content

Commit

Permalink
Merge 906af62 into a93cf5a
Browse files Browse the repository at this point in the history
  • Loading branch information
dfilip committed Nov 12, 2015
2 parents a93cf5a + 906af62 commit 8df2337
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/global/date/date.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ var StringMask = require('string-mask');
function DateMaskDirective($locale) {
var dateFormatMapByLocale = {
'pt-br': 'DD/MM/YYYY',
'en-us': 'MM/DD/YYYY'
};

var dateFormat = dateFormatMapByLocale[$locale.id] || 'YYYY-MM-DD';
Expand Down

0 comments on commit 8df2337

Please sign in to comment.