mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 01:42:29 +03:00
fcb9b87884
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
17 lines
581 B
Handlebars
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>
|