Skip to content

Commit

Permalink
Update text on time editor
Browse files Browse the repository at this point in the history
  • Loading branch information
slmnio committed Jun 14, 2023
1 parent 392f7d5 commit 549a3de
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@
</div>
<TimezoneSwapper align="left"></TimezoneSwapper>
</div>

<b-form-checkbox class="mb-2" switch v-model="useSiteTimezone" name="use-site-timezone">
Edit time in {{ useSiteTimezone ? 'the site' : 'your local' }} timezone ({{ timezoneName }})
<b-form-checkbox class="mb-3" switch v-model="useSiteTimezone" name="use-site-timezone">
Use site timezone to edit?
</b-form-checkbox>
<b-form-input class="mb-2" name="datetime-editor" type="datetime-local" :value="temporaryTime || safeSavedTime" @change="(val) => temporaryTime = val"></b-form-input>

<div class="text-center mb-2">Editing in <b>{{ useSiteTimezone ? 'the site' : 'your local' }} timezone</b> ({{ timezoneName }})</div>
<div class="flex-center text-center timezones">
<div class="group">
<div class="top font-weight-bold" :class="{'text-muted': useSiteTimezone}">Local timezone</div>
Expand Down

0 comments on commit 549a3de

Please sign in to comment.