Fixing time display issues

This commit is contained in:
ehpersonal38
2023-03-27 16:03:25 -04:00
parent af8e7d433f
commit 2a1d1693fe
+5 -2
View File
@@ -639,8 +639,11 @@ https://discordapp.com/api/webhooks/{WebhookID}/{WebhookToken}
<h2>Time and Date</h2>
<span>If connected to the internet, retrieve time automatically?</span>
<input type="checkbox" onchange='handleChange(this)' <?php echo $checkedvalue; ?> ><br>
<input onclick="this.showPicker()" type="date" id="date" name="date" value="<?php echo date('Y-m-d') ?>" <?php echo $disabledvalue; ?>>
<input onclick="this.showPicker()" type="time" id="time" name="time" value="<?php echo date('H:i') ?>" <?php echo $disabledvalue; ?>><br>
<?php
$date = new DateTime('now');
?>
<input onclick="this.showPicker()" type="date" id="date" name="date" value="<?php echo $date->format('Y-m-d') ?>" <?php echo $disabledvalue; ?>>
<input onclick="this.showPicker()" type="time" id="time" name="time" value="<?php echo $date->format('H:i'); ?>" <?php echo $disabledvalue; ?>><br>
<label for="timezone">Select a Timezone: </label>
<select name="timezone">
<option disabled selected>