Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Mar 27, 2013
  1. v0.9.1

    authored
  2. Merge pull request #39 from shosokawa/feature/year2038

    authored
    Fixed the year 2038 problem.
  3. @shosokawa

    Fixed a problem that Date.getTime returned negative value when it is …

    shosokawa authored
    …set to over the year 2038.
Commits on Mar 26, 2013
Commits on Mar 21, 2013
  1. Merge pull request #38 from blax/master

    authored
    Fixes #37: Incorrect timezone conversion on edge of months
Commits on Mar 19, 2013
  1. @blax
Commits on Mar 6, 2013
  1. v0.9.0

    authored
  2. Merge pull request #35 from Atinux/patch-2

    authored
    Add setTimezone() chainable test
  3. Merge pull request #34 from Atinux/patch-1

    authored
    Chaining setTimezone()
  4. @Atinux
Commits on Mar 5, 2013
  1. @Atinux

    Chaining setTimezone()

    Atinux authored
    Hi :)
    
    I just add `return this;` at the end of setTimezone() method.
    
    With that, we can do :
    <pre>
      var now = new time.Date().setTimezone("America/Los_Angeles");
    </pre>
    
    Thanks for you awesome module :)
Commits on Jan 31, 2013
  1. v0.8.4

    authored
  2. Merge pull request #30 from zenoamaro/fixes-28

    authored
    Fixes #28: Incorrect timezone calculation on edge of months.
  3. @zenoamaro

    Fixes #28: Incorrect timezone calculation on edge of months.

    zenoamaro authored
    Now sets relative time with the correct order of operations.
Commits on Nov 23, 2012
  1. set the timezone explicitly on new time.Date instances

    authored
    V8 seems to have this strange behavior where the TZ variable is only checked
    once for the Date object, and if you change it while V8 is running, then
    strange stuff happens:
    
        > new Date()
        Fri Nov 23 2012 09:54:45 GMT-0800 (PST)
        > time.tzset('UTC')
        > new Date()
        Fri Nov 23 2012 09:54:57 GMT-0800 (UTC)
        > new Date().getTimezoneOffset()
        480
    
    Notice how it *partially* changes over. The timezone abbreviation string
    changes correctly, however the internal date of the instance itself is
    still incorrectly in PST timezone (-0800). WTF V8...
  2. test: fix 2-space tabs

    authored
  3. add .jshintrc file

    authored
  4. test: fix lint

    authored
  5. package: set the TZ env variable to UTC when running the tests

    authored
    A few of the test cases make assumptions that that is the case.
    Maybe fix those someday...
Commits on Aug 18, 2012
  1. v0.8.3

    authored
  2. test: fix "currentTimezone" test

    authored
    I don't like should.js anymore... :\
Commits on Jul 13, 2012
  1. travis: don't test node v0.4.x

    authored
    It probably still works... however, Mocha requires v0.6.x to work properly :(
Commits on May 17, 2012
  1. v0.8.2

    authored
  2. Fixed bug in constructing dates from millisecond values with a specif…

    Seth Purcell authored committed
    …ied timezone.
    
    Closes #18.
Commits on Apr 24, 2012
  1. v0.8.1

    authored
  2. check that the `tz` variable is set in setTimezone()

    authored
    Attempting to fix #16.
Commits on Apr 4, 2012
  1. fix typo

    authored
  2. fix bad

    authored
Commits on Mar 16, 2012
  1. README: posessive

    authored
Commits on Mar 15, 2012
  1. v0.8.0

    authored
  2. spacing

    authored
Something went wrong with that request. Please try again.