Skip to content

Commit

Permalink
feat(uiDateMask): add ru locale to date mask
Browse files Browse the repository at this point in the history
  • Loading branch information
nucleartux authored and assisrafael committed Nov 8, 2016
1 parent 1a9dacb commit 4b05575
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 @@ -11,6 +11,7 @@ function isISODateString(date) {
function DateMaskDirective($locale) {
var dateFormatMapByLocale = {
'pt-br': 'DD/MM/YYYY',
'ru': 'DD.MM.YYYY',
};

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

0 comments on commit 4b05575

Please sign in to comment.