How can I echo in blade? #1
jamesautodude
started this conversation in
General
Replies: 1 comment 1 reply
-
You can use normal Blade techniques to display dates using either the facade or helper function. <p>{{ to_local_timezone($submission->created_at, 'M jS, Y | g:i A') }}</p> |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Best way to echo in blade please? :)
In the other package, I just did:
@displayDate($submission->created_at, 'M jS, Y | g:i A')
Beta Was this translation helpful? Give feedback.
All reactions