…nstance into one of our "extended" Date instances.
… 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...)
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
…. just being lazy...
…et()' function to avoid unnecessarily calling `setTime()`.
…rds the `get*()` functions will return the expected values.
Squashed commit of the following: commit 8102090df0e7270899e0d2c8ee06a70aed8f6e4a Author: Nathan Rajlich <firstname.lastname@example.org> Date: Wed Apr 27 17:33:47 2011 -0700 'timezone' and 'altzone' needs to be negated. Also fixed a typo. commit d7afc084f013790ab3719fd6560b9da4a76cac46 Author: Nathan Rajlich <email@example.com> Date: Wed Apr 27 17:25:42 2011 -0700 First crack at a Cygwin build...