guest-entries icon indicating copy to clipboard operation
guest-entries copied to clipboard

Date Field not obeying timezone

Open glenwith1n opened this issue 2 years ago • 0 comments

I am using guest entries for events with a event start date/time and end date/time. The date that the user enters in the frontend is +10 hours when viewed in the admin as I am in Australia and we are GMT + 10. Is there anyway to fix this? Code for my input field below <div class="form-group required"> <label class="control-label" for="dateStart">Event date start <span class="required"></span></label> <input class="form-control date-field" id="dateStart" type="datetime-local" name="fields[eventDateStart]" required> {% if entry is defined %} {{ errorList(entry.getErrors('eventDateStart')) }} {% endif %} </div>

glenwith1n avatar May 16 '23 07:05 glenwith1n