@formkit/tempo
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -361,2 +361,9 @@ /** | ||
declare function parse(dateStr: string, format?: Format, locale?: string): Date | never; | ||
/** | ||
* Given a string date and corresponding format parts, fill the parts with the | ||
* data from the string. | ||
* @param dateStr - A string to parse. | ||
* @param formatParts - The expected parts of the given string. | ||
*/ | ||
declare function parseParts(dateStr: string, formatParts: Part[]): FilledPart[]; | ||
@@ -417,2 +424,2 @@ /** | ||
export { type DateInput, type FilledPart, type Format, type FormatOptions, type FormatPattern, type FormatStyle, type FormatStyleObj, type FormatToken, type NamedFormatOption, type NamedFormats, type ParseOptions, type Part, addDay, addHour, addMinute, addMonth, addSecond, addYear, ap, applyOffset, date, dayEnd, dayOfYear, dayStart, format, formatStr, fourDigitYear, hourEnd, hourStart, iso8601, minuteEnd, minuteStart, monthDays, monthEnd, monthStart, nearestDay, offset, parse, parts, range, removeOffset, sameDay, tzDate, weekEnd, weekStart, yearDays }; | ||
export { type DateInput, type FilledPart, type Format, type FormatOptions, type FormatPattern, type FormatStyle, type FormatStyleObj, type FormatToken, type NamedFormatOption, type NamedFormats, type ParseOptions, type Part, addDay, addHour, addMinute, addMonth, addSecond, addYear, ap, applyOffset, date, dayEnd, dayOfYear, dayStart, format, formatStr, fourDigitYear, hourEnd, hourStart, iso8601, minuteEnd, minuteStart, monthDays, monthEnd, monthStart, nearestDay, offset, parse, parseParts, parts, range, removeOffset, sameDay, tzDate, weekEnd, weekStart, yearDays }; |
{ | ||
"name": "@formkit/tempo", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "The easiest way to work with dates in JavaScript and TypeScript.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1123838
2386