Skip to content

Commit

Permalink
Timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjamesstone committed Jul 11, 2019
1 parent 4908944 commit 7327d5c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions server/models/area-view.js
@@ -1,4 +1,4 @@
// const moment = require('moment')
// const moment = require('moment-timezone')

// class AreaView {
// constructor (data) {
Expand Down Expand Up @@ -127,7 +127,7 @@
// module.exports = AreaView

// #2
// const moment = require('moment')
// const moment = require('moment-timezone')

// class AreaView {
// constructor (data) {
Expand Down Expand Up @@ -254,7 +254,7 @@
// module.exports = AreaView

// #3
const moment = require('moment')
const moment = require('moment-timezone')

class AreaView {
constructor (data, url, id) {
Expand Down
2 changes: 1 addition & 1 deletion server/models/home-view.js
@@ -1,4 +1,4 @@
const moment = require('moment')
const moment = require('moment-timezone')

class HomeView {
constructor (fwis) {
Expand Down
2 changes: 1 addition & 1 deletion server/models/target-area-search-view.js
@@ -1,4 +1,4 @@
const moment = require('moment')
const moment = require('moment-timezone')

class TargetAreaSearchView {
constructor (targetAreas, warnings, areas, { url, query, area }) {
Expand Down
2 changes: 1 addition & 1 deletion server/models/target-area-view.js
@@ -1,4 +1,4 @@
const moment = require('moment')
const moment = require('moment-timezone')

class TargetAreaView {
constructor (targetArea, warnings, historicWarnings) {
Expand Down

0 comments on commit 7327d5c

Please sign in to comment.