gocodebox / lifterlms

LifterLMS, a WordPress LMS Solution: Easily create, sell, and protect engaging online courses.
https://lifterlms.com
GNU General Public License v3.0
181 stars 135 forks source link

"Last Seen" date uses UTC instead of local time zone #1738

Open pondermatic opened 3 years ago

pondermatic commented 3 years ago

Reproduction Steps

  1. Set the WordPress time zone in the general settings to UTC+12.
  2. View the LifterLMS reporting page that lists students. /wp-admin/admin.php?page=llms-reporting
  3. Set the WordPress time zone in the general settings to UTC-12.
  4. View the LifterLMS reporting page that lists students. /wp-admin/admin.php?page=llms-reporting

Expected Behavior

The "Last Seen" date should be different between the two page views.

Actual Behavior

The "Last Seen" date is the same between the two page views.

This issue has been recreated:

eri-trabiccolo commented 3 years ago

see also #1561