Add missing Luxon DateTime isInLeapYear getter (#29300)

This commit is contained in:
Eric MORAND
2018-10-05 14:50:48 -07:00
committed by Wesley Wigham
parent eb7be7c32c
commit dda6e33a6c
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -1,4 +1,4 @@
// Type definitions for luxon 1.2
// Type definitions for luxon 1.4
// Project: https://github.com/moment/luxon#readme
// Definitions by: Colby DeHart <https://github.com/colbydehart>
// Hyeonseok Yang <https://github.com/FourwingsY>
@@ -154,6 +154,7 @@ declare module 'luxon' {
hour: number;
invalidReason: string;
isInDST: boolean;
isInLeapYear: boolean;
isOffsetFixed: boolean;
isValid: boolean;
locale: string;
+1
View File
@@ -33,6 +33,7 @@ getters.zoneName;
getters.offset;
getters.daysInMonth;
getters.ordinal;
getters.isInLeapYear;
dt.toLocaleString();
dt.toLocaleString(DateTime.DATE_MED);