time en now

This commit is contained in:
Daniel Cortés
2019-10-15 18:29:46 -03:00
parent 2a6fc094fa
commit f869c4686a
2 changed files with 2 additions and 0 deletions

View File

@@ -8,6 +8,7 @@
<article>
<header>
<h1 class="post-title">{{$post->title}}</h1>
<time datetime="{{ $post->created_at->toDateString() }}"> {{ $post->created_at->toFormattedDateString() }} </time>
</header>
{!! $parse->text($post->md) !!}
</article>

View File

@@ -8,6 +8,7 @@
<article>
<header>
<h1 class="post-title">Now</h1>
<time datetime="{{ $now->created_at->toDateString() }}"> {{ $now->created_at->toFormattedDateString() }} </time>
</header>
{!! $parse->text($now->md) !!}
</article>