statamic / ssg

The official Statamic Static Site Generator
229 stars 23 forks source link

Fix date to string format #109

Closed jasonvarga closed 1 year ago

jasonvarga commented 1 year ago

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().