Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

m-datetime-picker

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

m-datetime-picker - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

4

index.js

@@ -55,3 +55,3 @@ 'use strict';

var formatNumber = function formatNumber(n) {
return n < 10 ? '0' + n : n;
return (n < 10 ? '0' : '') + n ;
};

@@ -174,3 +174,3 @@

if (x === 'Y') {
_result.push(initDate.getFullYear());
_result.push(initDate.getFullYear() + '');
} else if (x === 'M') {

@@ -177,0 +177,0 @@ _result.push(formatNumber(initDate.getMonth() + 1));

{
"name": "m-datetime-picker",
"version": "1.0.5",
"version": "1.0.6",
"description": "m-datetime-picker 日期时间选择器,基于m-picker扩展来",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc