mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-10 11:40:16 +08:00
add LTS to longDateFormat
This commit is contained in:
Vendored
+2
@@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user