Skip to content

Commit

Permalink
Add DateTime format to de, it, pl & pt
Browse files Browse the repository at this point in the history
  • Loading branch information
kao committed Oct 17, 2013
1 parent d91d40f commit fc70fd1
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
6 changes: 5 additions & 1 deletion angular-locale_de.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ $provide.value("$locale", {
"Nov",
"Dez"
],
"longDateTime": "d. MMMM y 'um' HH:mm:ss 'Uhr'",
"mediumDateTime": "d. MMM y 'um' HH:mm 'Uhr'",
"shortDateTime": "d. MMM 'um' HH:mm 'Uhr'",
"fullDate": "EEEE, d. MMMM y",
"longDate": "d. MMMM y",
"medium": "dd.MM.yyyy HH:mm:ss",
Expand Down Expand Up @@ -95,4 +98,5 @@ $provide.value("$locale", {
"id": "de",
"pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
});
}]);
}]);

6 changes: 5 additions & 1 deletion angular-locale_it.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ $provide.value("$locale", {
"nov",
"dic"
],
"longDateTime": "d MMMM y 'alle' HH:mm:ss",
"mediumDateTime": "d MMM y 'alle' HH:mm",
"shortDateTime": "d MMM 'alle' HH:mm",
"fullDate": "EEEE d MMMM y",
"longDate": "dd MMMM y",
"medium": "dd/MMM/y HH:mm:ss",
Expand Down Expand Up @@ -95,4 +98,5 @@ $provide.value("$locale", {
"id": "it",
"pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
});
}]);
}]);

6 changes: 5 additions & 1 deletion angular-locale_pl.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ $provide.value("$locale", {
"lis",
"gru"
],
"longDateTime": "d MMMM y 'o' HH:mm:ss",
"mediumDateTime": "d MMM y 'o' HH:mm",
"shortDateTime": "d MMM 'o' HH:mm",
"fullDate": "EEEE, d MMMM y",
"longDate": "d MMMM y",
"medium": "d MMM y HH:mm:ss",
Expand Down Expand Up @@ -95,4 +98,5 @@ $provide.value("$locale", {
"id": "pl",
"pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (n != 1 && (n % 10 == 0 || n % 10 == 1) || n == (n | 0) && n % 10 >= 5 && n % 10 <= 9 || n == (n | 0) && n % 100 >= 12 && n % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;}
});
}]);
}]);

6 changes: 5 additions & 1 deletion angular-locale_pt.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ $provide.value("$locale", {
"nov",
"dez"
],
"longDateTime": "d 'de' MMMM 'de' y, 'às' HH:mm:ss",
"mediumDateTime": "d 'de' MMM 'de' y, 'às' HH:mm",
"shortDateTime": "d 'de' MMM, 'às' HH:mm",
"fullDate": "EEEE, d 'de' MMMM 'de' y",
"longDate": "d 'de' MMMM 'de' y",
"medium": "dd/MM/yyyy HH:mm:ss",
Expand Down Expand Up @@ -95,4 +98,5 @@ $provide.value("$locale", {
"id": "pt",
"pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
});
}]);
}]);

0 comments on commit fc70fd1

Please sign in to comment.