Fixed typo in default UTC timezone of `{{gh-format-post-time}}` helper
no issue - was throwing errors from Moment.js in tests but not causing failures
This commit is contained in:
parent
266d973917
commit
d66d3e484c
|
@ -3,7 +3,7 @@ import moment from 'moment';
|
|||
import {assert} from '@ember/debug';
|
||||
import {inject as service} from '@ember/service';
|
||||
|
||||
export function formatPostTime(timeago, {timezone = 'ect/UTC', draft, scheduled, published}) {
|
||||
export function formatPostTime(timeago, {timezone = 'etc/UTC', draft, scheduled, published}) {
|
||||
if (draft) {
|
||||
// No special handling for drafts, just use moment.from
|
||||
return moment(timeago).from(moment.utc());
|
||||
|
|
Loading…
Reference in New Issue