Skip to content

Commit

Permalink
core: basic setup
Browse files Browse the repository at this point in the history
  • Loading branch information
lucianopf committed Oct 15, 2018
0 parents commit 2c096e2
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
const momentTimezone = require('moment-timezone')
momentTimezone.tz.setDefault('America/Sao_Paulo')

module.exports = momentTimezone
21 changes: 21 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "moment-sao-paulo",
"version": "0.0.1",
"description": "A lib to proxy moment as America/Sao_Paulo",
"main": "index.js",
"repository": {
"type": "git",
"url": "git@github.com:pagarme/moment-sao-paulo.git"
},
"author": "Pagar.me Pagamentos S/A <@pagarme>",
"license": "ISC",
"dependencies": {
"moment": "^2.22.2",
"moment-timezone": "^0.5.21"
}
}

0 comments on commit 2c096e2

Please sign in to comment.