Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

Update Log timestamp differest from password reset timestamp

  • sysopcrew
  • sysopcrew
  • OFFLINE
  • Posts: 74
  • Thanks: 14
  • Karma: 3
8 years 6 months ago - 8 years 6 months ago #280923 by sysopcrew
Joomla 3.5.1
CB 2.0.14
CB Profile Update Logger 2.1.2

When a password reset is requested, the CB Profile lists:
Last Reset Time 04/24/2016 14:32:24

However, the Update Log tab shows:
2016-04-24 12:32:24 password xxxxxxxx xxxxxxxx 0,0()

The timestamps differ by 2 hours; the Joomla->System->Global Configuration->Server->Location Settings->Server Time Zone is set to Chicago. (Should this = the server time zone, or the time zone of most users? I'm in Central time... the server physically lives on the USA East Coast in Eastern time.)

The server is set to New York (I'm not server admin)...
[/etc]# ls -lsa localtime
0 lrwxrwxrwx 1 root root 36 Nov 15 2013 localtime -> <span>/</span>usr<span>/</span>share/zoneinfo/America/New_York

I assume I have the Joomla->System->Global Configuration->Server->Location Settings->Server Time Zone set wrong, it should be New York... but that only explains one hour difference, not two. Is Day Light Savings time an issue, too?

--
David Riviera
Last edit: 8 years 6 months ago by sysopcrew.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 6 months ago #280955 by krileon
CB Profile Update Logger doesn't apply any parsing to the field. The raw value is UTC. The displayed is with server offset.

All dates are (or should be) stored as UTC then offset locally based off the user viewing (if they've timezone configured in their profile) or by whatever the server timezone is set to. Yes, daylight savings is always considered.

Joomla entirely handles password reset and CB does not use this functionality so I've no idea if Joomla is storing it as UTC correctly, but I would assume it is.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: nant

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum