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

Respect the date format saved in WordPress Dashboard > Settings > General > Date Format. #2447

Open dominiquemariano opened 1 year ago

dominiquemariano commented 1 year ago

Reproduction Steps

  1. Set the date format to d/m/Y in WordPress Dashboard > Settings > General > Date Format.
  2. Publish a new LifterLMS course.
  3. On the back-end of that course, turn on Course Options > Restrictions > Enable Enrollment Period.
  4. Then, set the date for Course Options > Restrictions > Enrollment Start Date.
  5. You'll notice that it still follows that m/d/Y date format.

Expected Behavior

It must follow that format you set in WordPress Dashboard > Settings > General > Date Format.

Actual Behavior

It does not follow the date format you set in WordPress Dashboard > Settings > General > Date Format. It sticks to the m/d/Y date format.

This issue has be recreated:

Affected Tickets

HS-214507

dominiquemariano commented 1 year ago

@eri-trabiccolo This issue is different from any of the "related issues" listed in https://github.com/gocodebox/lifterlms/issues/392. Based on this instruction Any dates on admin panel / reporting screens - open a new issue and we'll determine how to adjust at https://github.com/gocodebox/lifterlms/issues/392, I'm keeping it open.