Skip to content
Commits on May 31, 2011
  1. version 0.4.0

    committed May 30, 2011
  2. README++

    committed May 30, 2011
  3. 'getTimezoneAbbr()' may now be called on a `time.Date` instance anytime.

    committed May 30, 2011
    Prevously, 'setTimezone()' needed to be called first. This new strategy will
    parse the native Date's toString() output to retrieve the current timezone
    On a side note: It's too bad there's not a similar hack we can do for
    'getTimezone()'. Uugghh, oh well..
  4. Throw an Error if 'getTimezone()' is called before 'setTimezone()'.

    committed May 30, 2011
    It would be nice to have 'getTimezone()' return something useful, however I'm
    not sure how this could be implemented. There's no way to get the timezone from
    plain 'ol JavaScript.
Commits on May 18, 2011
  1. version 0.3.2

    committed May 18, 2011
  2. @retrofox
  3. version 0.3.1

    committed May 17, 2011
  4. Change the 'extend()' function so that it doesn't alter the internal …

    committed May 17, 2011
    …prototype of the Date instance.
    This is needed for the case where the user passes in a "regular" date instance but with other
    custom properties/functions up their prototype chain. This way we don't override the custom props.
    Also fixes a bug where the original Date instance wasn't being returned, and updated test case.
Commits on May 12, 2011
  1. version 0.3.0

    committed May 12, 2011
  2. Implement an `extend()` function, which transforms a "regular" Date i…

    committed May 12, 2011
    …nstance into one of our "extended" Date instances.
  3. Ensure that our exported Date instance is independant from the global…

    committed May 12, 2011
    … one, even if NODE_MODULE_CONTEXTS is not set. This could possibly be a breaking change, if anybody is still using this lib incorrectly (i.e. using 'setTimezone' with regular Date instances since they've been globally modified...)
Commits on May 11, 2011
  1. Edited via GitHub

    committed May 10, 2011
Commits on May 10, 2011
  1. version 0.2.3

    committed May 9, 2011
Commits on May 8, 2011
Commits on May 4, 2011
  1. version 0.2.2

    committed May 4, 2011
  2. Cygwin fix

    committed May 4, 2011
  3. version 0.2.1

    committed May 4, 2011
  4. Use the new `mktime()` with the Date `set*()` functions.

    committed May 4, 2011
    This is _MUCH_ more accurate for a few reasons:
     - `mktime` properly determines daylight savings time for us
     - `mktime` properly calculates leap-year
     - `mktime` properly calculates the month length for each month
     - previously, it was just constant values for MILLIS_PER_YEAR and MILLIS_PER_MONTH, which is laughable
  5. Bracket styling

    committed May 3, 2011
Commits on May 2, 2011
  1. version 0.2.0

    committed May 2, 2011
  2. Add MIT license

    committed May 2, 2011
  3. Add stub functions for the `set*()` functions. Also use a hidden 'res…

    committed May 2, 2011
    …et()' function to avoid unnecessarily calling `setTime()`.
  4. Doh!

    committed May 2, 2011
Something went wrong with that request. Please try again.