Socket
Socket
Sign inDemoInstall

rc-calendar

Package Overview
Dependencies
Maintainers
5
Versions
239
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-calendar - npm Package Compare versions

Comparing version 9.13.1 to 9.13.2

2

es/RangeCalendar.js

@@ -713,3 +713,3 @@ import _extends from 'babel-runtime/helpers/extends';

// Adjust month if date not align
if (panelTriggerSource !== 'end' && mode[0] === 'date' && mode[1] === 'date' && endValue.isSame(value[0], 'month')) {
if (!showTimePicker && panelTriggerSource !== 'end' && mode[0] === 'date' && mode[1] === 'date' && endValue.isSame(value[0], 'month')) {
endValue = endValue.clone().add(1, 'month');

@@ -716,0 +716,0 @@ }

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

// Adjust month if date not align
if (panelTriggerSource !== 'end' && mode[0] === 'date' && mode[1] === 'date' && endValue.isSame(value[0], 'month')) {
if (!showTimePicker && panelTriggerSource !== 'end' && mode[0] === 'date' && mode[1] === 'date' && endValue.isSame(value[0], 'month')) {
endValue = endValue.clone().add(1, 'month');

@@ -764,0 +764,0 @@ }

{
"name": "rc-calendar",
"version": "9.13.1",
"version": "9.13.2",
"description": "React Calendar",

@@ -72,3 +72,3 @@ "keywords": [

"bootstrap": "~3.3.2",
"dtslint": "^0.5.7",
"dtslint": "^0.6.1",
"enzyme": "^3.3.0",

@@ -75,0 +75,0 @@ "enzyme-adapter-react-16": "^1.1.1",

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