There is an official guide out there, but it ignores the fact that it's possible to use pre-build packages for a lot of the dependent libraries (rather than compiling them). This set of instructions aims to fix that.
I hereby claim:
- I am jeffreywescott on github.
- I am jeffreywescott (https://keybase.io/jeffreywescott) on keybase.
- I have a public key whose fingerprint is 9999 772D 5D50 6F85 BC1F 3328 8833 91EB 7E91 16FE
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var keenTimezone = function() { | |
var | |
jan = new Date(now.getFullYear(), 0, 1), | |
jul = new Date(now.getFullYear(), 6, 1), | |
now = new Date(), | |
tzOffset = Math.max(jan.getTimezoneOffset(), jul.getTimezoneOffset()) * -1 / 60, | |
dstTzOffset= now.getTimezoneOffset() * -1 / 60, | |
offsetsAre = function(expTzOffset, expDstTzOffset) { | |
if (tzOffset === expTzOffset && dstTzOffset === expDstTzOffset) { | |
return true |