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

add fixture error #547

Closed
gluck1986 opened this issue Nov 18, 2022 · 1 comment
Closed

add fixture error #547

gluck1986 opened this issue Nov 18, 2022 · 1 comment

Comments

@gluck1986
Copy link
Contributor

$post->setPublishedAt(new DateTimeImmutable(date('r', rand(time(), strtotime('-2 years')))));

$comment->setPublishedAt(new DateTimeImmutable(date('r', rand(time(), strtotime('-1 years')))));

error: rand(time(), strtotime('-{some} years') first argumet is greater than second

@vjik
Copy link
Member

vjik commented Nov 21, 2022

Fixed by #548

@vjik vjik closed this as completed Nov 21, 2022
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

No branches or pull requests

2 participants