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

react-datetime

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-datetime - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

8

CHANGELOG.md
Changelog
=========
## 2.0.2
* Fixed january days go to november problem.
## 2.0.1

@@ -41,5 +45,1 @@ * Fixed two days can't have the same header name.

* `className` prop has been added to customize component class.
{
"name": "react-datetime",
"version": "2.0.1",
"version": "2.0.2",
"description": "A lightweight but complete datetime picker React.js component.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/arqex/react-datetime",

@@ -12,2 +12,8 @@ react-datetime

Collaborator needed
===================
I moved to some projects where I don't use this library anymore, and I don't have much time to update it.
Since there are a lot of people using it, it would be nice that some dev user could maintain the library.
If you think your are good enough to handle this hard task just ping me :)
Usage

@@ -83,4 +89,4 @@ ===============================

return <Datetime
renderDay={ this.renderDay }
renderMonth={ this.renderMonth }
renderDay={ this.renderDay }
renderMonth={ this.renderMonth }
renderYear={ this.renderYear }

@@ -87,0 +93,0 @@ />;

@@ -75,5 +75,5 @@ var React = require('react'),

if( prevMonth.year() < currentYear || prevMonth.month() < currentMonth )
if( ( prevMonth.year() == currentYear && prevMonth.month() < currentMonth ) || ( prevMonth.year() < currentYear ) )
classes += ' rdtOld';
else if( prevMonth.year() > currentYear || prevMonth.month() > currentMonth )
else if( ( prevMonth.year() == currentYear && prevMonth.month() > currentMonth ) || ( prevMonth.year() > currentYear ) )
classes += ' rdtNew';

@@ -80,0 +80,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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