Ghost/ghost/admin/app/components/gh-timezone-select.hbs
Kevin Ansfield fcb9b87884 Renamed activeTimezone setting to timezone
refs https://github.com/TryGhost/Ghost/issues/10318

- API has been updated to still work with `active_timezone` for backwards compatibility but it makes sense for the client to match the underlying settings keys
2020-06-24 15:34:59 +01:00

17 lines
581 B
Handlebars

<span class="gh-select" data-select-text="{{this.selectedTimezone.label}}" tabindex="0">
<OneWaySelect
@id="timezone"
@name="general[timezone]"
@options={{this.selectableTimezones}}
@optionValuePath="name"
@optionLabelPath="label"
@value={{this.selectedTimezone}}
@update={{action "setTimezone"}}
/>
{{svg-jar "arrow-down-small"}}
</span>
{{#if this.hasTimezoneOverride}}
<p>Your timezone has been automatically set to {{this.timezone}}.</p>
{{/if}}
<p>The local time here is currently {{this.localTime}}</p>