|
|
|
@ -13,28 +13,16 @@ const TPL = /*html*/`
|
|
|
|
${t("custom_date_time_format.description")}
|
|
|
|
${t("custom_date_time_format.description")}
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
<table class="table table-borderless">
|
|
|
|
<div class="form-group row align-items-center">
|
|
|
|
<tr>
|
|
|
|
<div class="col-6">
|
|
|
|
<td>
|
|
|
|
<label for="custom-date-time-format">${t("custom_date_time_format.format_string")}</label>
|
|
|
|
${t("custom_date_time_format.format_string")}
|
|
|
|
<input type="text" id="custom-date-time-format" class="form-control custom-date-time-format" placeholder="YYYY-MM-DD HH:mm">
|
|
|
|
</td>
|
|
|
|
</div>
|
|
|
|
<td>
|
|
|
|
<div class="col-6">
|
|
|
|
<input type="text" id="custom-date-time-format" class="form-control custom-date-time-format"
|
|
|
|
<label>${t("custom_date_time_format.formatted_time")}</label>
|
|
|
|
placeholder="YYYY-MM-DD HH:mm">
|
|
|
|
<div class="formatted-date"></div>
|
|
|
|
</td>
|
|
|
|
</div>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td>
|
|
|
|
|
|
|
|
${t("custom_date_time_format.formatted_time")}
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
<td>
|
|
|
|
|
|
|
|
<div class="formatted-date" style="padding-left: 0.5rem;">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
|
|
|