add LTS to longDateFormat

This commit is contained in:
Brandon Luong
2015-10-02 16:45:49 -07:00
parent 07c10e8f66
commit da423b4559
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -343,11 +343,13 @@ declare module moment {
LLL: string;
LLLL: string;
LT: string;
LTS: string;
l?: string;
ll?: string;
lll?: string;
llll?: string;
lt?: string;
lts?: string;
}
+2
View File
@@ -378,6 +378,7 @@ moment.locale('en', {
moment.locale('en', {
longDateFormat : {
LTS: "h:mm:ss A",
LT: "h:mm A",
L: "MM/DD/YYYY",
l: "M/D/YYYY",
@@ -392,6 +393,7 @@ moment.locale('en', {
moment.locale('en', {
longDateFormat : {
LTS: "h:mm A",
LT: "h:mm A",
L: "MM/DD/YYYY",
LL: "MMMM Do YYYY",