Date format issues
-
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.
- The topic ‘Date format issues’ is closed to new replies.