@date-io/core
Advanced tools
Comparing version 2.5.0 to 2.6.0
@@ -46,5 +46,5 @@ export interface DateIOFormats<TLibFormatToken = string> { | ||
keyboardDateTime: TLibFormatToken; | ||
/** Not Localized keyboard input friendly date/time 12h format @example "2019/01/01 23:44" */ | ||
/** Not Localized keyboard input friendly date/time 12h format @example "2019/01/01 11:44 PM" */ | ||
keyboardDateTime12h: TLibFormatToken; | ||
/** Not localized keyboard input friendly date/time 24h format @example "2019/01/01 11:44 PM" */ | ||
/** Not localized keyboard input friendly date/time 24h format @example "2019/01/01 23:44" */ | ||
keyboardDateTime24h: TLibFormatToken; | ||
@@ -67,2 +67,4 @@ } | ||
is12HourCycleInCurrentLocale(): boolean; | ||
/** Returns user readable format (taking into account localized format tokens), useful to render helper text for input (e.g. placeholder). For luxon always returns empty string. */ | ||
getFormatHelperText(format: string): string; | ||
@@ -69,0 +71,0 @@ isNull(value: TDate | null): boolean; |
{ | ||
"name": "@date-io/core", | ||
"version": "2.5.0", | ||
"version": "2.6.0", | ||
"description": "Abstraction over common javascript date management libraries", | ||
@@ -34,3 +34,3 @@ "scripts": { | ||
}, | ||
"gitHead": "c6fc999bc503c79a913c2fd51a4bbce4427694d5" | ||
"gitHead": "d6db25c9863530a6d5934a2f8b97b1f0162d967d" | ||
} |
8097
136