@telerik/kendo-intl
Advanced tools
Comparing version 1.1.0 to 1.1.1-dev.201706071307
@@ -122,2 +122,7 @@ import { DateFormatNameOptions } from './cldr'; | ||
names?: DateFormatNameOptions; | ||
/** | ||
* Specifies whether a 12-hour time-set should be used for the formatting. | ||
*/ | ||
hour12?: boolean; | ||
} | ||
@@ -124,0 +129,0 @@ |
@@ -228,2 +228,3 @@ import formatString from '../common/format-string'; | ||
} | ||
//# sourceMappingURL=date-pattern.js.map |
@@ -55,2 +55,6 @@ import datePattern from './date-pattern'; | ||
function isHour12(pattern) { | ||
return pattern === 'h'; | ||
} | ||
export default function splitDateFormat(format, locale) { | ||
@@ -82,2 +86,6 @@ if ( locale === void 0 ) locale = 'en'; | ||
if (type === 'hour') { | ||
part.hour12 = isHour12(value); | ||
} | ||
var names = NAME_TYPES[type]; | ||
@@ -111,2 +119,3 @@ | ||
} | ||
//# sourceMappingURL=split-date-format.js.map |
{ | ||
"name": "@telerik/kendo-intl", | ||
"description": "A package exporting functions for date and number parsing and formatting", | ||
"version": "1.1.0", | ||
"version": "1.1.1-dev.201706071307", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
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 too big to display
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
589936
5930
2