Skip to content

Commit

Permalink
Removed bragging rights
Browse files Browse the repository at this point in the history
  • Loading branch information
Branko Vukelic committed Oct 2, 2013
1 parent 4bd703d commit a33f496
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.mkd
Expand Up @@ -91,7 +91,9 @@ The setter-getter combo still works if you prefer that.
### Time zone support

Yes, for real. The time zone support is finally available in JavaScript, and
it's simpler than you'd think.
it's simpler than you'd think. (Yeah, it's not the first time ever that we have
time zones in JavaScript, but TzTime offers a more Date-like interface for
it.)

The `getTimezoneOffset()` now has a `setTimezoneOffset()` counterpart that
works as expected. There is also a `timezone` attribute that you can use.
Expand All @@ -101,7 +103,7 @@ works as expected. There is also a `timezone` attribute that you can use.
v.getUTCHours() == 14; // true

v.timezone = 120;
v.hours == 12; // Hours remain constant, we have just change the time zone
v.hours == 12; // Hours remain constant, we have just changed the time zone

v.getUTCHours() == 10; // true

Expand Down

0 comments on commit a33f496

Please sign in to comment.