1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Ghost-Admin/app/templates/components/gh-timezone-select.hbs

17 lines
565 B
Handlebars
Raw Normal View History

<label for="activeTimezone">Timezone</label>
<span class="gh-select" data-select-text="{{selectedTimezone.label}}" tabindex="0">
{{one-way-select
id="activeTimezone"
name="general[activeTimezone]"
options=selectableTimezones
optionValuePath="name"
optionLabelPath="label"
value=selectedTimezone
update=(action "setTimezone")
}}
</span>
{{#if hasTimezoneOverride}}
<p>Your timezone has been automatically set to {{activeTimezone}}.</p>
{{/if}}
<p>The local time here is currently {{localTime}}</p>