Describe the feature you'd like
Add an option to set the timezone of the calendar.
Options
Option 1
The simple option would be to offset our moment dates.
Something like this could work when creating new moment var:
const m = moment()
m.utcOffset(+120) // set manually an offset to the desired timezone << make this a global option
Pro: easy to implement
Con: not the cleanest
Option 2
We could use the moment-timezone library.
Example:
var moment = require('moment-timezone')
moment.tz.setDefault('Europe/Zurich')
Pro: clean
Con: additional lib
Describe the feature you'd like
Add an option to set the timezone of the calendar.
Options
Option 1
The simple option would be to offset our
momentdates.Something like this could work when creating new
momentvar:Pro: easy to implement
Con: not the cleanest
Option 2
We could use the
moment-timezonelibrary.Example:
Pro: clean
Con: additional lib