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

Fix date to string format #109

Merged
merged 2 commits into from
Aug 10, 2022
Merged

Fix date to string format #109

merged 2 commits into from
Aug 10, 2022

Conversation

jasonvarga
Copy link
Member

@jasonvarga jasonvarga commented Aug 10, 2022

Fixes #77

As per this comment the date format gets set in a middleware, but middlewares aren't run.

This is a shorter term solution. If/when we eventually run the appropriate middleware, this PR can be reverted.

Also adds a StatamicRoute class just so it's easier to differentiate between a Route::get() and Route::statamic().

@jasonvarga jasonvarga merged commit d5664b7 into master Aug 10, 2022
@jasonvarga jasonvarga deleted the fix/77-dates branch August 10, 2022 20:00
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.

SSG sometimes doesn't format dates properly
1 participant