View laravel-hotwire on GitHub
1M
v0.91.0
Search 71 components and 72 controllers by name, category or description.
Timeago
Localized relative timestamp with server fallback and optional automatic refresh
Relative time
Created
Created
Updated
<span>Created <hw:timeago datetime="-10 minutes" :refresh-interval="60000" locale="pt-BR" :add-suffix="true">há 10 minutos</hw:timeago></span>
<span>Created <hw:timeago datetime="-10 minutes" :refresh-interval="60000" locale="pt-BR" :add-suffix="false">10 minutos</hw:timeago></span>
<span>Updated <hw:timeago datetime="-2 hours" :refresh-interval="60000">2 hours ago</hw:timeago></span>