Fix datetime picker. Closes #3143

This commit is contained in:
James Brooks
2018-06-29 20:59:13 +01:00
parent 8c623bc67d
commit d0b802d82f
13 changed files with 97 additions and 421 deletions

View File

@@ -118,7 +118,7 @@
</div>
<div class="form-group">
<label>{{ trans('forms.incidents.occurred_at') }}</label> <small class="text-muted">{{ trans('forms.optional') }}</small>
<input type="text" name="occurred_at" class="form-control" rel="datepicker-custom" data-date-format="YYYY-MM-DD HH:mm" placeholder="{{ trans('forms.optional') }}">
<input type="text" name="occurred_at" class="form-control flatpickr-time" data-date-format="Y-m-d H:i" placeholder="{{ trans('forms.optional') }}">
</div>
@if($notificationsEnabled)
<input type="hidden" name="notify" value="0">