nativescript-sdk-utility
Advanced tools
Comparing version 1.0.8 to 1.0.9
{ | ||
"name": "nativescript-sdk-utility", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "This plugin is a collection of utilities for iOS and Android to simplify your NativeScript apps.", | ||
@@ -5,0 +5,0 @@ "main": "sdk-utility", |
@@ -64,6 +64,6 @@ "use strict"; | ||
if (this.is24HFormat()) { | ||
pattern = pattern.replace(/h+/, "HH").replace(/m+/, "mm").replace(/a+/, ""); | ||
pattern = pattern.replace(/h+/, "HH").replace(/m+/, "mm").replace(/s+/, "ss").replace(/a+/, ""); | ||
} | ||
else { | ||
pattern = pattern.replace(/H+/, "h").replace(/m+/, "mm"); | ||
pattern = pattern.replace(/H+/, "h").replace(/m+/, "mm").replace(/s+/, "ss"); | ||
} | ||
@@ -70,0 +70,0 @@ var sdf = new java.text.SimpleDateFormat(pattern); |
@@ -30,6 +30,6 @@ "use strict"; | ||
if (this.is24HFormat()) { | ||
pattern = pattern.replace(/h+/, "HH").replace(/m+/, "mm").replace(/a+/, ""); | ||
pattern = pattern.replace(/h+/, "HH").replace(/m+/, "mm").replace(/s+/, "ss").replace(/a+/, ""); | ||
} | ||
else { | ||
pattern = pattern.replace(/H+/, "h").replace(/m+/, "mm"); | ||
pattern = pattern.replace(/H+/, "h").replace(/m+/, "mm").replace(/s+/, "ss"); | ||
} | ||
@@ -36,0 +36,0 @@ dateFormatter.dateFormat = pattern; |
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
24930