Skip to content

Custom fields date not saving correct date

edited November 2018 in Troubleshooting

While my server date is set appropriately here, Sendy is not saving the correct date when receiving API calls with date/time fields here.

Is there something I'm missing? I'm sending the current date formatted in UTC to the server.

Comments

  • BenBen
    edited November 2018

    Hi,

    Please check if your timezone is set correctly in your Sendy’s main settings.

    Also, I checked your phpinfo and see that the date.timezone’s value is empty. Set a timezone in date.timezone as well. List of supported timezones http://php.net/manual/en/timezones.php

    Best regards,
    Ben

  • Amazing! Thanks, Ben. I needed to adjust the date.timezone like you mentioned on my sendy server and then adjust the Date() object being sent to match.

This discussion has been closed.