gocodebox / gocodebox/lifterlms

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

Open
#1,738 1 comment 0 reactions 0 assignees View on GitHub
Type: Bug
Dominant language
PHP
Stars
212
Forks
140
Avg merge
2d 14h
Merged PRs (30d)
19

Description

### Reproduction Steps

1. Set the WordPress time zone in the general settings to UTC+12.
1. View the LifterLMS reporting page that lists students. `/wp-admin/admin.php?page=llms-reporting`
1. Set the WordPress time zone in the general settings to UTC-12.
1. 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:
+ [x] Locally
+ [ ] On a staging site
+ [ ] On a production website
+ [ ] With only LifterLMS and a default theme

Contributor guide

Open the contributing guide

Research direction

Start at /wp-admin/admin.php?page=llms-reporting and trace where the students list formats the “Last Seen” value. Reproduce the issue with WordPress time zones UTC+12 and UTC-12; done when the displayed date changes appropriately between those views and the existing reporting behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, internationalization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.