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.6 to 1.1.0

26

index.js

@@ -16,2 +16,6 @@ 'use strict';

var _PropTypes = require('prop-types');
var _PropTypes2 = _interopRequireDefault(_PropTypes);
var _classnames = require('classnames');

@@ -255,14 +259,14 @@

DatetimePicker.propTypes = {
onOpen: _react.PropTypes.func,
onClose: _react.PropTypes.func,
onChange: _react.PropTypes.func,
defaultValue: _react.PropTypes.oneOfType([_react.PropTypes.number, _react.PropTypes.string]),// 默认的时间,timestamp,默认为现在
dateFormat: _react.PropTypes.string, // Y: 年, M: 月, d: 日期, H: 时, m: 分, s: 秒,如果格式不规范,可能会导致一些奇怪的结果
minDate: _react.PropTypes.string, // 起始日期, xxxx-xx-xx格式
maxDate: _react.PropTypes.string, // 最大日期,格式同上
onOpen: _PropTypes2.default.func,
onClose: _PropTypes2.default.func,
onChange: _PropTypes2.default.func,
defaultValue: _PropTypes2.default.oneOfType([_PropTypes2.default.number, _PropTypes2.default.string]),// 默认的时间,timestamp,默认为现在
dateFormat: _PropTypes2.default.string, // Y: 年, M: 月, d: 日期, H: 时, m: 分, s: 秒,如果格式不规范,可能会导致一些奇怪的结果
minDate: _PropTypes2.default.string, // 起始日期, xxxx-xx-xx格式
maxDate: _PropTypes2.default.string, // 最大日期,格式同上
toolbar: _react.PropTypes.bool,
toolbarTitle: _react.PropTypes.node,
showSubmitBtn: _react.PropTypes.bool,
showClearBtn: _react.PropTypes.bool
toolbar: _PropTypes2.default.bool,
toolbarTitle: _PropTypes2.default.node,
showSubmitBtn: _PropTypes2.default.bool,
showClearBtn: _PropTypes2.default.bool
};

@@ -269,0 +273,0 @@

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

@@ -29,4 +29,5 @@ "main": "index.js",

"dependencies": {
"react": "~15.2.0",
"react-dom": "~15.2.0",
"react": "~15.5.4",
"react-dom": "~15.5.4",
"prop-types": "^15.5.8",
"m-base": "^1.0.0",

@@ -33,0 +34,0 @@ "m-picker": "^1.0.0",

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