Support » Plugin: UpdraftPlus WordPress Backup Plugin » Date format issues

  • Resolved getsnoopy

    (@getsnoopy)


    In the code, I see that all the date formats are hard-coded in. This would be fine if this was an international format, like ISO 8601 or the international long-form date format (e.g., “7 February 2020 18:44”), but the format is some sort of hybrid of the one only used by the US combined with 24-hour time: “February 7, 2020 18:44”. All of these instances should really be changed to read the date format set in the WordPress Settings (via get_option('date_format')) so that it respects the format the user is comfortable with.

    Also, the time format in the “Existing backups table” is using the G:i format, which is incorrect for 24-hour time, as the first hour of a day is formatted as “0:20”, for example, instead of “00:20” which is the correct format (H:i). But this would be transitively fixed if the issue above is fixed.

    I hope someone can fix these issues. Cheers.

    • This topic was modified 3 months, 3 weeks ago by getsnoopy.
    • This topic was modified 3 months, 3 weeks ago by getsnoopy.
    • This topic was modified 3 months, 3 weeks ago by getsnoopy.
Viewing 1 replies (of 1 total)
  • Plugin Contributor DNutbourne

    (@dnutbourne)

    Hi,

    Apologies for the delay.

    I have made a note for our developers to look into changing how dates/times are formatted.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.