Ghost/core/test/unit/helpers
Hannah Wolfe fe0197b226 🐛Fixed {{get}} helper's date comparison (#9454)
no issue

- Date comparisons are possible via API, but there's no way to inject a valid date into the get helper
- JavaScript's Date.toString() function outputs dates in a useless format
- Swap to using Date.toISOString() and now the format can be understood anywhere!
- {{#get "posts" filter="published_at:<='{{published_at}}'"}}{{/get}} works now as expected
2018-02-14 18:33:07 +01:00
..
test_tpl Tests: Renamed unit/server_helpers to unit/helpers (#9145) 2017-10-19 12:02:21 +01:00
asset_spec.js Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
author_spec.js Tests: Renamed unit/server_helpers to unit/helpers (#9145) 2017-10-19 12:02:21 +01:00
body_class_spec.js Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
content_spec.js Tests: Renamed unit/server_helpers to unit/helpers (#9145) 2017-10-19 12:02:21 +01:00
date_spec.js Tests: Renamed unit/server_helpers to unit/helpers (#9145) 2017-10-19 12:02:21 +01:00
encode_spec.js Tests: Renamed unit/server_helpers to unit/helpers (#9145) 2017-10-19 12:02:21 +01:00
excerpt_spec.js Tests: Renamed unit/server_helpers to unit/helpers (#9145) 2017-10-19 12:02:21 +01:00
facebook_url_spec.js Tests: Renamed unit/server_helpers to unit/helpers (#9145) 2017-10-19 12:02:21 +01:00
foreach_spec.js Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
get_spec.js 🐛Fixed {{get}} helper's date comparison (#9454) 2018-02-14 18:33:07 +01:00
ghost_foot_spec.js Tests: Renamed unit/server_helpers to unit/helpers (#9145) 2017-10-19 12:02:21 +01:00
ghost_head_spec.js Moved image utils to lib/image 2017-12-14 20:46:53 +01:00
has_spec.js Tests: Renamed unit/server_helpers to unit/helpers (#9145) 2017-10-19 12:02:21 +01:00
img_url_spec.js Import lib/common only 2017-12-12 10:28:13 +01:00
index_spec.js Theme translations and blog localisation (#8437) 2018-01-09 14:50:57 +01:00
is_spec.js Import lib/common only 2017-12-12 10:28:13 +01:00
lang_spec.js Theme translations and blog localisation (#8437) 2018-01-09 14:50:57 +01:00
meta_description_spec.js Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
meta_title_spec.js Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
navigation_spec.js Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
next_post_spec.js Import lib/common only 2017-12-12 10:28:13 +01:00
page_url_spec.js Tests: Renamed unit/server_helpers to unit/helpers (#9145) 2017-10-19 12:02:21 +01:00
pagination_spec.js Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
plural_spec.js Tests: Renamed unit/server_helpers to unit/helpers (#9145) 2017-10-19 12:02:21 +01:00
post_class_spec.js Tests: Renamed unit/server_helpers to unit/helpers (#9145) 2017-10-19 12:02:21 +01:00
prev_post_spec.js Import lib/common only 2017-12-12 10:28:13 +01:00
reading_time_spec.js Feature: {{reading_time}} theme helper (#9217) 2017-11-06 18:40:07 +00:00
t_spec.js Theme translations and blog localisation (#8437) 2018-01-09 14:50:57 +01:00
tags_spec.js Tests: Renamed unit/server_helpers to unit/helpers (#9145) 2017-10-19 12:02:21 +01:00
template_spec.js Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
title_spec.js Tests: Renamed unit/server_helpers to unit/helpers (#9145) 2017-10-19 12:02:21 +01:00
twitter_url_spec.js Tests: Renamed unit/server_helpers to unit/helpers (#9145) 2017-10-19 12:02:21 +01:00
url_spec.js Bump sinon to version 4.1.2 (#9283) 2017-11-28 18:19:23 +01:00
utils_spec.js Moved word-count utility to helpers/utils.js (#9328) 2017-12-13 14:05:53 +01:00