0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/data
Hannah Wolfe 9a7ebeef1c Use moment-timezone when using .tz() (#7653)
refs #7449, refs #7514, refs #7643

- We've had a couple of issues raised, and a few people in #help all report the same error:
> Cannot read property 'zone' of undefined
When starting Ghost.

I'm not sure why this seems to work sometimes, and not others, however it would seem that we
should require moment-timezone anywhere we want to use timezone features.

This PR fixes the LOC shown in #7449 as the problem line + I searched for any other potential problems
2016-10-31 14:44:24 +01:00
..
db utf8mb4 support (#7409) 2016-09-20 15:59:34 +01:00
export Error creation (#7477) 2016-10-06 13:27:35 +01:00
import Error creation (#7477) 2016-10-06 13:27:35 +01:00
importer Error creation (#7477) 2016-10-06 13:27:35 +01:00
meta Move internal tags out of labs (#7519) 2016-10-10 09:51:03 +01:00
migration use migration runner for init db (#7502) 2016-10-11 13:37:11 +01:00
migrations/init migrations: seeding is part of init db task (#7545) 2016-10-12 16:18:57 +01:00
schema knex migrator (#7565) 2016-10-17 13:50:29 +01:00
slack Error creation (#7477) 2016-10-06 13:27:35 +01:00
validation Use moment-timezone when using .tz() (#7653) 2016-10-31 14:44:24 +01:00
xml 🎨 replace process.env.NODE_ENV usages by config.get('env') (#7544) 2016-10-11 13:53:52 +01:00
timezones.json Adds UTC as select option to timezones select list 2016-06-10 15:19:16 +02:00