react-date-time-group
Advanced tools
Comparing version 5.0.3 to 5.0.4
@@ -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 { |
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
2167388
50748