Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date Field not obeying timezone #80

Open
glenwith1n opened this issue May 16, 2023 · 0 comments
Open

Date Field not obeying timezone #80

glenwith1n opened this issue May 16, 2023 · 0 comments

Comments

@glenwith1n
Copy link

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant