Socket
Socket
Sign inDemoInstall

nativescript-sdk-utility

Package Overview
Dependencies
0
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.6 to 1.0.7

2

package.json
{
"name": "nativescript-sdk-utility",
"version": "1.0.6",
"version": "1.0.7",
"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(/hh/g, "HH").replace(/h/g, "H").replace(/a/g, "");
pattern = pattern.replace(/h+/, "HH").replace(/a+/, "");
}
else {
pattern = pattern.replace(/HH/g, "h").replace(/H/g, "h");
pattern = pattern.replace(/H+/, "h");
}

@@ -70,0 +70,0 @@ var sdf = new java.text.SimpleDateFormat(pattern);

@@ -30,6 +30,6 @@ "use strict";

if (this.is24HFormat()) {
pattern = pattern.replace(/hh/g, "HH").replace(/h/g, "H").replace(/a/g, "");
pattern = pattern.replace(/h+/, "HH").replace(/a+/, "");
}
else {
pattern = pattern.replace(/HH/g, "h").replace(/H/g, "h");
pattern = pattern.replace(/H+/, "h");
}

@@ -36,0 +36,0 @@ dateFormatter.dateFormat = pattern;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc