Skip to content

Commit

Permalink
Merge pull request #82 from moment/feature/memoize-timestamps
Browse files Browse the repository at this point in the history
Precomputed offset changes.
  • Loading branch information
timrwood committed May 23, 2014
2 parents c7271cd + ea1505f commit aea1e39
Show file tree
Hide file tree
Showing 838 changed files with 95,209 additions and 186,614 deletions.
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "tz"]
path = tz
[submodule "data/source"]
path = data/source
url = git://github.com/eggert/tz.git
2 changes: 1 addition & 1 deletion .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"validthis" : false,

"browser" : false,
"node" : false,
"node" : true,

"nomen" : false,
"onevar" : true,
Expand Down
3 changes: 2 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ module.exports = function(grunt) {
grunt.initConfig({
nodeunit : {
all : [
"tests/**/*.js"
"tests/**/*.js",
"!tests/helpers/**"
]
},
uglify : {
Expand Down
411 changes: 411 additions & 0 deletions data/packed/latest.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions data/source
Submodule source added at afa8e7
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
module.exports = require("./moment-timezone");
module.exports.tz.add(require('./moment-timezone.json'));
module.exports.tz.add(require('./data/packed/latest.json'));
Loading

0 comments on commit aea1e39

Please sign in to comment.