-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implemented: Add time zone support and migrated from moment to luxon(#25k8h53) #107
Conversation
src/views/TimezoneModal.vue
Outdated
<div v-else> | ||
<ion-list> | ||
<ion-radio-group value="rd" v-model="timeZoneId"> | ||
<ion-item v-bind:key="timeZone.id" v-for="timeZone in filteredTimeZones"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<ion-item v-bind:key="timeZone.id" v-for="timeZone in filteredTimeZones"> | |
<ion-item :key="timeZone.id" v-for="timeZone in filteredTimeZones"> |
src/views/TimezoneModal.vue
Outdated
<ion-title>{{ $t("Select time zone") }}</ion-title> | ||
</ion-toolbar> | ||
<ion-toolbar> | ||
<ion-searchbar @ionFocus="selectSearchBarText($event)" :placeholder="$t('Search time zones')" v-model="queryString" v-on:keyup.enter="queryString = $event.target.value; findTimeZone()" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add the static text to en.json
src/views/TimezoneModal.vue
Outdated
<ion-title>{{ $t("Select time zone") }}</ion-title> | ||
</ion-toolbar> | ||
<ion-toolbar> | ||
<ion-searchbar @ionFocus="selectSearchBarText($event)" :placeholder="$t('Search time zones')" v-model="queryString" v-on:keyup.enter="queryString = $event.target.value; findTimeZone()" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<ion-searchbar @ionFocus="selectSearchBarText($event)" :placeholder="$t('Search time zones')" v-model="queryString" v-on:keyup.enter="queryString = $event.target.value; findTimeZone()" /> | |
<ion-searchbar @ionFocus="selectSearchBarText($event)" :placeholder="$t('Search time zones')" v-model="queryString" @keyup.enter="queryString = $event.target.value; findTimeZone()" /> |
src/views/TimezoneModal.vue
Outdated
<ion-radio-group value="rd" v-model="timeZoneId"> | ||
<ion-item v-bind:key="timeZone.id" v-for="timeZone in filteredTimeZones"> | ||
<ion-label>{{ timeZone.label }} ({{ timeZone.id }})</ion-label> | ||
<ion-radio :value="timeZone.id" slot="start"></ion-radio> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use self-closing tag.
Dependent on #90 |
src/App.vue
Outdated
@@ -57,6 +57,6 @@ export default defineComponent({ | |||
unmounted() { | |||
emitter.off('presentLoader', this.presentLoader); | |||
emitter.off('dismissLoader', this.dismissLoader); | |||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this unwanted change.
Related Issues
Closes #
Short Description and Why It's Useful
Screenshots of Visual Changes before/after (If There Are Any)
IMPORTANT NOTICE - Remember to add changelog entry
Contribution and Currently Important Rules Acceptance