gocodebox / gocodebox/lifterlms

Front End Edit Order Data does not respect date settings

Open
#1,690 1 comment 1 reaction 0 assignees View on GitHub
good first issue hacktoberfest help wanted Severity: Normal Type: Bug
Dominant language
PHP
Stars
212
Forks
140
Avg merge
2d 14h
Merged PRs (30d)
19

Description

### Reproduction Steps

+ Change the format to day month year for the date in general settings
+ create an order
+ from the Student Dashboard open the order history
![image](https://user-images.githubusercontent.com/47434271/124670934-4fbb8d80-de7a-11eb-8cf9-fbb11bfe7eff.png)

### Expected Behavior

+ the order shows with the different day month year format
+ It does on the backend: ![image](https://user-images.githubusercontent.com/47434271/124671030-75e12d80-de7a-11eb-9fd1-407027b0a214.png)

### Actual Behavior

+ Month Day Year remains
![image](https://user-images.githubusercontent.com/47434271/124670767-171bb400-de7a-11eb-8150-260fa774bbfe.png)

### Error Messages / Logs

+ Include any relevant error messages or log files
```

```

### System and Environment Information

System Report

```
Wordpress
-------------------------------------------

Home Url: https://natalie-5-testing.myliftersite.com
Site Url: https://natalie-5-testing.myliftersite.com
Login Url: https://natalie-5-testing.myliftersite.com/wp-login.php
Version: 5.7.2
Debug Mode: Yes
Debug Log: Yes
Debug Display: Yes
Locale: en_US
Multisite: No
Page For Posts: Not Set
Page On Front: Homepage (#155) [https://natalie-5-testing.myliftersite.com/]
Permalink Structure: /%postname%/
Show On Front: page
Wp Cron: Yes

Settings
-------------------------------------------

Version: 5.0.1
Db Version: 5.0.1
Course Catalog: Course Catalog (#9) [https://natalie-5-testing.myliftersite.com/courses/]
Membership Catalog: Membership Catalog (#10) [https://natalie-5-testing.myliftersite.com/memberships/]
Student Dashboard: Student Dashboard (#12) [https://natalie-5-testing.myliftersite.com/dashboard/]
Checkout Page: Purchase (#11) [https://natalie-5-testing.myliftersite.com/purchase/]
Course Catalog Per Page: -1
Course Catalog Sorting: menu_order,ASC
Membership Catalog Per Page: 9
Membership Catalog Sorting: menu_order,ASC
Site Membership: Not Set
Courses Endpoint: my-courses
Edit Endpoint: edit-account
Lost Password Endpoint: lost-password
Vouchers Endpoint: redeem-voucher
Autogenerate Username: yes
Password Strength Meter: yes
Minimum Password Strength: strong
Terms Required: yes
Terms Page: Block Content Examples (#156) [https://natalie-5-testing.myliftersite.com/block-content-examples/]
Checkout Names: required
Checkout Address: required
Checkout Phone: optional
Checkout Email Confirmation: yes
Open Registration: yes
Registration Names: required
Registration Address: optional
Registration Phone: hidden
Registration Voucher: optional
Registration Email Confirmation: no
Account Names: required
Account Address: required
Account Phone: optional
Account Email Confirmation: yes
Confirmation Endpoint: confirm-payment
Force Ssl Checkout: no
Country: SA
Currency: EUR
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Decimals: 2
Trim Zero Decimals: no
Recurring Payments: yes
Email From Address: team+sandbox@lifterlms.com
Email From Name: A LifterLMS Sandbox
Email Footer Text:
Email Header Image:
Cert Bg Width: 800
Cert Bg Height: 616
Cert Legacy Compat: no

Constants
-------------------------------------------

LLMS_REMOVE_ALL_DATA: undefined
LLMS_REST_DISABLE: undefined
LLMS_SITE_FEATURE_RECURRING_PAYMENTS: undefined
LLMS_SITE_IS_CLONE: undefined

Gateways
-------------------------------------------

Manual: Enabled
Manual Logging: no
Manual Order: 1

Server
-------------------------------------------

Mysql Version: 5.7.34
Php Curl: Yes
Php Default Timezone: UTC
Php Fsockopen: Yes
Php Max Input Vars: 5000
Php Max Upload Size: 512 MB
Php Memory Limit: 256M
Php Post Max Size: 1024M
Php Soap: Yes
Php Suhosin: No
Php Time Limt: 30
Php Version: 7.3.29
Software: Apache/2.4.48 (Unix) OpenSSL/1.1.1
Wp Memory Limit: 256M

Browser
-------------------------------------------

HTTP USER AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36

Theme
-------------------------------------------

Name: Twenty Twenty-One
Version: 1.3
Themeuri: https://wordpress.org/themes/twentytwentyone/
Authoruri: https://wordpress.org/
Template:
Child Theme: No
Llms Support: No

Plugins
-------------------------------------------

LifterLMS: 5.0.1

Integrations
-------------------------------------------

BbPress: No
BuddyPress: No

Template Overrides
-------------------------------------------

```

This issue has be recreated:
+ [X] Locally
+ [X] On a staging site
+ [X] On a production website
+ [X] With only LifterLMS and a default theme

### Browser, Device, and Operating System Information

+ Browser name and version
+ Operating System name and version
+ Device name and version (if applicable)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.