I’m using make since 2 years, and this is my first question for the community.
I must adapt the date time in a special case.
I have a form into a wordpress website.
In this form, the user must select a date and time for an appointment in a doctor service.
The problem is that if the user takes an appointment with this form today for a date AFTER 26 oct. 2024 at 3.00 AM, I must delete 1 hour in the appointment time.
If the appointment is BEFORE 26 oct. 2024 at 3.00 AM, I must delete 2 hours in the appointment time.
Why you have added the greater sign or less sign?? In switch function you really cannot mention greater or lesser like this. it doesn’t count like this.
It’s working great like this.
It remains still an issue : it’s really “static”.
I’m wondering if I could not be more dynamic, because using this syntax obliges me to change the date manually each year.
Or maybe there is something in make that can manage the daylight saving time automatically?