diff options
Diffstat (limited to 'web/html/xui/client_bulk_modal.html')
| -rw-r--r-- | web/html/xui/client_bulk_modal.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/web/html/xui/client_bulk_modal.html b/web/html/xui/client_bulk_modal.html index 75e9bf6b..c951bc8d 100644 --- a/web/html/xui/client_bulk_modal.html +++ b/web/html/xui/client_bulk_modal.html @@ -104,8 +104,10 @@ <a-icon type="question-circle"></a-icon> </a-tooltip> </template> - <a-date-picker :show-time="{ format: 'HH:mm:ss' }" format="YYYY-MM-DD HH:mm:ss" + <a-date-picker v-if="datepicker == 'gregorian'" :show-time="{ format: 'HH:mm:ss' }" format="YYYY-MM-DD HH:mm:ss" :dropdown-class-name="themeSwitcher.currentTheme" v-model="clientsBulkModal.expiryTime"></a-date-picker> + <persian-datepicker v-else :dropdown-class-name="themeSwitcher.currentTheme" + value="clientsBulkModal.expiryTime" v-model="clientsBulkModal.expiryTime"></persian-datepicker> </a-form-item> <a-form-item v-if="clientsBulkModal.expiryTime != 0"> <template slot="label"> @@ -234,6 +236,9 @@ get delayedExpireDays() { return this.clientsBulkModal.expiryTime < 0 ? this.clientsBulkModal.expiryTime / -86400000 : 0; }, + get datepicker() { + return app.datepicker; + }, set delayedExpireDays(days) { this.clientsBulkModal.expiryTime = -86400000 * days; }, |
