diff options
| author | Ali Rahimi <alirahimi818@gmail.com> | 2024-01-02 11:32:21 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-02 11:32:21 +0300 |
| commit | c76199514a62c921901b2b2a1c4dd3f93ff8df2a (patch) | |
| tree | ef82233fb8e7035be22c21a7375be6d0fb1c8868 /web/html/xui/client_bulk_modal.html | |
| parent | 31e9734414f084b9d1725d5ae9be46d3720ac122 (diff) | |
added Jalalian datepicker (shamsi) (#1460)
* added datepicker option in setting page
jalalian datepicker component was added
translate files for datepicker updated
* dark mode bug fixed
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; }, |
