Skip to content

Commit

Permalink
1.2.1 add getTimezoneOffset
Browse files Browse the repository at this point in the history
  • Loading branch information
jcgertig committed Jul 13, 2017
1 parent da22f35 commit 73256e3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build/nano-date.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/nano-date.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "nano-date",
"version": "1.2.0",
"version": "1.2.1",
"description": "Date class that supports up to nano seconds",
"main": "lib/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"compile": "babel src/ --out-dir lib",
"rollup": "rollup -c",
"compile": "babel src/ --out-dir lib && npm run rollup",
"prepublish": "npm run compile"
},
"repository": {
Expand Down
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ const passThroughMethods = [
'toLocaleDateString',
'toLocaleString',
'toLocaleTimeString',
'toISOString'
'toISOString',
'getTimezoneOffset'
];

@autobind
Expand Down

0 comments on commit 73256e3

Please sign in to comment.