Get answers quicker by searching

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

24h timezone for scheduled emails
  • It would be great if you could add a time format setting so that the time in the GUI for scheduled campaigns shows 14:37 instead of 2:37pm (for us in the rest of the world with the correct clock standard) ;)

  • Old suggestion not implemented yet. it would be great if implemented ;)

  • Vote Up0Vote Down MaartenMaarten
    Posts: 2Sendy user

    +1, please implement 24h time format for scheduling e-mails. It's confusing to some of my users.

  • Would be great! Europe have been waiting for this for some years now. I still cant understand 12 am/pm :(

  • Vote Up0Vote Down ParticPartic
    Posts: 1Sendy user

    Add to that, it would be great to have the current time based on the selected time zone + the server time displayed so that the scheduled time can be correctly confirmed (as well as on the settings page where you're setting the timezone) so that you know whether you've got your settings correct.

  • Vote Up0Vote Down tevateva
    Posts: 3Sendy user

    Yes...we in Europe are not used to AM and PM. It's also difficult to read stats. Please add this option.

  • If you want to make this change to your own installation then the code changes required are minimal:

    In send-to.php change the hour options from 1 to 12 to 0 to 23 and remove the ampm select.

    In includes/create/send-later.php change these two lines:

    Delete: $ampm = mysqli_real_escape_string($mysqli, $_POST['ampm']);

    Remove $ampm from $the_date = strtotime("$send_date $hour.$min$ampm");`

    The strtotime php function will automatically handle converting the string with 24 hour time to the appropriate internal date representation.

    Note that if you do make these changes you would have to re-apply them after every Sendy update.