@ltht-react/utils
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -6,2 +6,10 @@ # Change Log | ||
## [0.0.4](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/utils@0.0.3...@ltht-react/utils@0.0.4) (2020-01-07) | ||
**Note:** Version bump only for package @ltht-react/utils | ||
## [0.0.3](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/utils@0.0.2...@ltht-react/utils@0.0.3) (2020-01-07) | ||
@@ -8,0 +16,0 @@ |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var types_1 = require("@ltht-react/types"); | ||
var locale = 'en-GB'; | ||
var locale = 'en-gb'; | ||
var dayFormat = '2-digit'; | ||
@@ -18,3 +18,3 @@ var monthFormat = 'short'; | ||
return date | ||
.toLocaleString(locale, { hour: hourFormat, minute: minuteFormat }) | ||
.toLocaleString(locale, { hour: hourFormat, minute: minuteFormat, hour12: false }) | ||
.split(' ') | ||
@@ -27,3 +27,2 @@ .join(':'); | ||
} | ||
console.log(partialDateTime); | ||
switch (partialDateTime.kind) { | ||
@@ -30,0 +29,0 @@ case types_1.PartialDateTimeKindCode.Date: |
{ | ||
"name": "@ltht-react/utils", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "> TODO: description", | ||
@@ -27,3 +27,3 @@ "author": "Jonny Smith <jonny.asmith@gmail.com>", | ||
"lint": "prettylint 'src/*.{ts,tsx}'", | ||
"test": "" | ||
"test": "jest" | ||
}, | ||
@@ -33,3 +33,3 @@ "dependencies": { | ||
}, | ||
"gitHead": "c284068fcfa5688c5a7a299aaa2ba4efaf54ca33" | ||
"gitHead": "2d719428737868b651adf3a7bf624c6831cf2c07" | ||
} |
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
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
11278
24
139
2