mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
parent
4f35f86713
commit
7353c87d7f
@ -1,4 +1,6 @@
|
||||
var moment = require('moment-timezone');
|
||||
'use strict';
|
||||
|
||||
const moment = require('moment-timezone');
|
||||
|
||||
/**
|
||||
* force UTC
|
||||
@ -8,3 +10,8 @@ var moment = require('moment-timezone');
|
||||
* - be careful when you work with date operations, therefor always wrap a date into moment
|
||||
*/
|
||||
moment.tz.setDefault('UTC');
|
||||
|
||||
/**
|
||||
* https://github.com/TryGhost/Ghost/issues/9064
|
||||
*/
|
||||
global.Promise = require('bluebird');
|
||||
|
Loading…
Reference in New Issue
Block a user