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

react-date-time-group

Package Overview
Dependencies
Maintainers
8
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-date-time-group - npm Package Compare versions

Comparing version 5.0.3 to 5.0.4

14

dist/DateTimeGroup.js

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

var _reactDatepicker = require('react-datepicker');
var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker);
var _moment = require('moment');

@@ -26,2 +22,10 @@

var _reactDatepicker = require('react-datepicker');
var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker);
var _enGb = require('moment/locale/en-gb');
var _enGb2 = _interopRequireDefault(_enGb);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -35,2 +39,4 @@

// eslint-disable-line no-unused-vars
var DateTimeGroup = function (_React$Component) {

@@ -37,0 +43,0 @@ _inherits(DateTimeGroup, _React$Component);

@@ -70,3 +70,3 @@ 'use strict'

<h1>Localization (Incomplete)</h1>
<DateTimeGroup onChange={fns.changeDate} locales='en-US' />
<DateTimeGroup onChange={fns.changeDate} locale='en-GB' />
</div>

@@ -73,0 +73,0 @@ ,

{
"name": "react-date-time-group",
"version": "5.0.3",
"version": "5.0.4",
"description": "Datepicker with optional time",

@@ -5,0 +5,0 @@ "main": "dist/DateTimeGroup.js",

import React from 'react'
import TimePicker from 'react-time-select'
import DatePicker from 'react-datepicker'
import moment from 'moment'
import PropTypes from 'prop-types'
import DatePicker from 'react-datepicker'
import enGB from 'moment/locale/en-gb' // eslint-disable-line no-unused-vars

@@ -7,0 +8,0 @@ class DateTimeGroup extends React.Component {

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