react-datetime
Advanced tools
Comparing version 2.0.1 to 2.0.2
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
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
969634
5086
140