Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the new membership level default expire date i18zed #3093

Conversation

mircobabini
Copy link
Member

All Submissions:

Changes proposed in this Pull Request:

Fixes the default expire date when manually assigning a new membership level, which is not adding the local offset.

  1. Set your WP site to Europe/Rome for instance (that is +1 or +2).
  2. Take a random member without a membership and add a new membership, setting to expire.
  3. Check the local datetime input default value. The time will be GMT instead of 18zed (+1 year).

Please note: can't use wp_date bc we still support WP 5.2 compat and wp_date is 5.3+.

Other information:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you successfully run tests with your changes locally?

Changelog entry

Enter a summary of all changes on this Pull Request. This will appear in the changelog if accepted.

@dparker1005 dparker1005 merged commit e5e4482 into strangerstudios:dev Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants