Feature #129

Option to display Local Time?

Added by Roger Due about 5 years ago. Updated about 5 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:


I have been a happy user of Bad Behavior for WordPress for 5+ years and it always amazes me how many bad actors it catches. I have seen it catch things within 1 hour of installing WP, even when I have told the search engines to not index the site.

It is difficulty to correlate UTC date/time shown in your Log files with date/time of other events that are shown in my local time. WP allows me to specify my timezone and whether to take into account daylight savings time.

Recently, I have had to do a lot of correlations like this and it makes my head spin when looking at a large number of date/times in UTC vs local time.

Therefore, I would very much appreciate it if you could allow an option within the Bad Behavior settings to either stay with UTC, or to use the date/time associated with the timezone & daylight savings setting in WP. If it would make it easier for you, I would be more than happy for a separate timezone setting inside of Bad Behavior.

To add another wrinkle to this, it would be nice if you could allow displaying the time as either am/pm or 24hr to make it easier to correlate with other date/times.

Of course, the other part that gets to be a challenge for me when doing a bunch of correlations while trying to track down some problematic issues has to do with changing the dates at the end/beginning of another day when the number of hours difference causes this.

Although I haven't gone looking, I would assume that you could essentially lift the desired code right out of WP or some other library.

I would appreciate it if you would consider adding this feature in an upcoming release.
-- Thanks



Updated by Michael Hampton about 5 years ago

  • Status changed from New to Accepted
  • Assignee set to Michael Hampton
  • Target version set to 2.2.18

Also available in: Atom PDF