Ghost/core/server/helpers
Aileen Nowak 38a261daac timezones: Always use the timezone of blog setting
closes #6406
- adding timeZone Service to get the offset (=timezone reg. moment-timezone) overall available
- new publishedAtOffset date as CP using timeZone service and moment-timezone to calculate offset incl. DST
- removing timezone-obj transform as it became obsolete with moment-timezone
- reading timezones from configuration/timezones api endpoint
- adding a moment-utc transform to only work with utc times in backend
- when switching the timezone in the select box, the user will be shown the local time of the selected timezone
- added clock service to show actual time ticking below select box
- default timezone is '(GMT) Greenwich Mean Time : Dublin, Edinburgh, London'
- if no timezone is saved in the settings yet, the default value will be used
- showing local time in 'Publish Date' when it's a draft and no actual publishedAt value exists
- Removed the format 'DD MMM YY @ HH:mm (UTC Z)' which resolves to '01 Jan 16 @ 14:00 (UTC +02:00)'
- Changing the date.js helper in core/server for moment-timezone
- Fix timezone select: updates `selectedTimezone` to return the matching object from `availableTimezones`
- Including timezones in test for date-helper
- update to moment-timezone 0.5.1
- moving form-group of 'selectTimezone' further up so
- Tests:
	- Set except for clock service in test env
	- adding fixtures to mirage
	- adding 'service.ajax' to navigation-test.js
	- adding 'service:ghostPaths' to navigation-test.js
- Code improvements
- Changing clockservice to ES6
2016-05-20 13:59:45 +02:00
..
tpl Subscribers: router & form helpers 2016-05-11 10:28:11 +02:00
asset.js Rename confusing 'context' variables 2016-02-21 22:07:15 +00:00
author.js Rename confusing 'context' variables 2016-02-21 22:07:15 +00:00
body_class.js Remove filters from theme helpers (no async) 2015-12-08 14:35:04 +00:00
content.js Refactor helpers & tests into individual files 2014-10-14 22:52:40 +02:00
date.js timezones: Always use the timezone of blog setting 2016-05-20 13:59:45 +02:00
encode.js Rename confusing 'context' variables 2016-02-21 22:07:15 +00:00
excerpt.js Rename confusing 'context' variables 2016-02-21 22:07:15 +00:00
facebook_url.js Add helpers for facebook & twitter urls 2016-05-17 16:39:58 +01:00
foreach.js Change default setting for to inside foreach helper 2016-03-17 17:52:38 -07:00
get.js Rename confusing 'context' variables 2016-02-21 22:07:15 +00:00
ghost_foot.js Remove auto-inclusion of jQuery via ghost_foot 2015-09-02 13:39:22 +01:00
ghost_head.js Structured Data 3.0 2016-05-08 17:43:59 +02:00
has.js Harvest server side strings 2015-12-19 12:12:16 +01:00
image.js Change url and image into synchronous helpers 2014-12-29 18:44:15 +00:00
index.js Add helpers for facebook & twitter urls 2016-05-17 16:39:58 +01:00
input_email.js Subscribers: router & form helpers 2016-05-11 10:28:11 +02:00
input_password.js rewrites default private.hbs for new zelda styles 2015-05-29 06:25:32 -06:00
is.js Harvest server side strings 2015-12-19 12:12:16 +01:00
meta_description.js Started moving meta data fetching to functions. 2016-01-23 13:58:21 -08:00
meta_title.js Started moving meta data fetching to functions. 2016-01-23 13:58:21 -08:00
navigation.js Rename confusing 'context' variables 2016-02-21 22:07:15 +00:00
page_url.js Fixing undefined page case for page_url helper 2016-04-14 11:22:23 +01:00
pagination.js Clean up paginated URL generation 2016-03-20 22:35:00 +00:00
plural.js Rename confusing 'context' variables 2016-02-21 22:07:15 +00:00
post_class.js Remove filters from theme helpers (no async) 2015-12-08 14:35:04 +00:00
prev_next.js Rename confusing 'context' variables 2016-02-21 22:07:15 +00:00
tags.js Add attributes for {{tags}} and {{#foreach}} helpers 2016-01-10 02:47:36 +08:00
template.js Harvest server side strings 2015-12-19 12:12:16 +01:00
title.js Refactor helpers & tests into individual files 2014-10-14 22:52:40 +02:00
twitter_url.js Add helpers for facebook & twitter urls 2016-05-17 16:39:58 +01:00
url.js Started moving meta data fetching to functions. 2016-01-23 13:58:21 -08:00
utils.js Add helpers for facebook & twitter urls 2016-05-17 16:39:58 +01:00