Skip to content

Commit

Permalink
Use the exported tzset() for consistency.
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed Jun 16, 2011
1 parent 1cf4e9f commit 0640afd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -75,7 +75,7 @@ function setTimezone(timezone) {
var tz = exports.tzset(timezone);
var zoneInfo = exports.localtime(this / 1000);
if (oldTz != timezone) {
tzset(oldTz);
exports.tzset(oldTz);
oldTz = null;
}

Expand Down

0 comments on commit 0640afd

Please sign in to comment.