fetching current time

This commit is contained in:
sanjayk03-dev
2024-08-28 13:41:37 +05:30
parent ae23f756ea
commit 99ff3a629b
2 changed files with 26 additions and 1 deletions

View File

@@ -67,7 +67,8 @@ script#admin-general-view-template(type="text/x-template")
h2 Date/Time
p
strong Current Date/Time:
| {{get_current_time}}
span(v-if="isLoadingTime") Loading...
span(v-else) {{ current_time }}
.pure-form
input(id="date" type="date" v-model="selected_date")
input(id="hours" type="number" v-model="selected_hours" placeholder="HH" maxlength="2" min="0" max="23" style="width:45px")