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

Introduce WPDateTime and WPFutureDateTime. #37

Merged
merged 1 commit into from
Nov 11, 2024
Merged

Conversation

Clorith
Copy link
Member

@Clorith Clorith commented Nov 11, 2024

This PR adds two new supported custom fake value morphs. These take on the DateTime format used by WordPress (so without timezone offset or similar) as 2006-01-02 15:04:05, and fit in with needs for changing registration dates, post dates, or similar.

  • WPDateTime will return a date time +/- 12 years
  • WPFutureDateTime will return a date time up to +12 years, for when you need to ensure a future date.

See also #30

@Clorith Clorith merged commit bf9c3f7 into main Nov 11, 2024
1 check passed
@Clorith Clorith deleted the feature/wpdatetime branch November 11, 2024 11:33
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.

2 participants