date-and-time
Advanced tools
Comparing version 3.4.0 to 3.4.1
@@ -554,6 +554,8 @@ /** | ||
break; | ||
case 'hour': | ||
values[type] = value % 24; | ||
break; | ||
case 'year': | ||
case 'month': | ||
case 'day': | ||
case 'hour': | ||
case 'minute': | ||
@@ -560,0 +562,0 @@ case 'second': |
{ | ||
"name": "date-and-time", | ||
"version": "3.4.0", | ||
"version": "3.4.1", | ||
"description": "A Minimalist DateTime utility for Node.js and the browser", | ||
@@ -55,5 +55,5 @@ "main": "date-and-time.js", | ||
"mocha": "^10.6.0", | ||
"rollup": "^4.18.0", | ||
"rollup": "^4.18.1", | ||
"tsd": "^0.31.1" | ||
} | ||
} |
@@ -560,6 +560,8 @@ (function (global, factory) { | ||
break; | ||
case 'hour': | ||
values[type] = value % 24; | ||
break; | ||
case 'year': | ||
case 'month': | ||
case 'day': | ||
case 'hour': | ||
case 'minute': | ||
@@ -566,0 +568,0 @@ case 'second': |
@@ -28,2 +28,5 @@ # date-and-time | ||
- 3.4.1 | ||
- Fixed an issue where `formatTZ()` would output 0:00 as 24:00 in 24-hour format in Node.js. | ||
- 3.4.0 | ||
@@ -36,5 +39,2 @@ - Added `zz` (time zone name) and `z` (time zone name abbreviation) tokens to the `timezone` plugin. | ||
- 3.2.0 | ||
- Refactored `compile()`, `format()`, and `preparse()`, slightly improved performance. | ||
## Usage | ||
@@ -41,0 +41,0 @@ |
Sorry, the diff of this file is not supported yet
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
430174
8008