Permalink
Browse files

Merge pull request #34 from Atinux/patch-1

Chaining setTimezone()
  • Loading branch information...
2 parents b86d5b1 + 0610227 commit 5bdac21f7304a83ab89853695d7d2c396330aebb @TooTallNate committed Mar 6, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.js
View
2 index.js
@@ -1,4 +1,3 @@
-
/**
* Module dependencies.
*/
@@ -451,6 +450,7 @@ function setTimezone (timezone, relative) {
return this.setTime( (t * MILLIS_PER_SECOND) + this.getMilliseconds() );
}
+ return this;
}
// Returns a "String" of the last value set in "setTimezone".

0 comments on commit 5bdac21

Please sign in to comment.