Timeline for DrupalDateTime::createFromFormat() returns the wrong time value
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 25, 2022 at 13:49 | comment | added | Patrick Kenny | The Drupal (site) timezone setting has basically no effects. I don't use the Drupal wrappers but I do use the constants (see the update to my answer) to ensure I don't accidentally set things incorrectly. | |
Jun 25, 2022 at 13:48 | history | edited | Patrick Kenny | CC BY-SA 4.0 |
added 737 characters in body
|
Jun 25, 2022 at 12:54 | comment | added | Kevin | Yes, this kind of date stuff has always been a blind spot for me. I was trying to use the Drupal wrappers thinking it may be easier, wound up doing the opposite. I also thought for some reason the timezone setting in the application affected this, but that does not seem to be the case. | |
Jun 25, 2022 at 11:10 | history | answered | Patrick Kenny | CC BY-SA 4.0 |