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:
Kevin Ansfield 2022-02-10 14:29:36 +00:00
parent 266d973917
commit d66d3e484c
1 changed files with 1 additions and 1 deletions

View File

@ -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());