Comparing version 0.9.0 to 0.9.1
@@ -227,3 +227,3 @@ /** | ||
var tzMap = { | ||
'0': ['GMT', 'GMT', 'GMT'], | ||
'0': ['GMT', 'GMT', 'UTC'], | ||
'240': ['AST', 'ADT', 'Atlantic'], | ||
@@ -238,2 +238,4 @@ '300': ['EST', 'EDT', 'US/Eastern'], | ||
// FIXME: only detects a few timezone abbreviations, and presumes US | ||
// TODO: probe timezone abbreviations with | ||
// child_process.exec("date +%Z --date @0") and "date +%Z --date @1500000000" | ||
var tzCode = tzMap[winterOffset] ? tzMap[winterOffset][0 + isCurrentlyDst] : now.toString().slice(35, 38); | ||
@@ -240,0 +242,0 @@ var tzName = tzMap[winterOffset] ? tzMap[winterOffset][2] : '???'; |
{ | ||
"name": "phpdate-js", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"description": "php date() work-alike for nodejs", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
25954
6
510
1
57