Skip to content

Instantly share code, notes, and snippets.

@dannetstudio
Created October 6, 2022 18:03
Show Gist options
  • Save dannetstudio/bca57c699c0b0ed4d0bb8ca70aebab5d to your computer and use it in GitHub Desktop.
Save dannetstudio/bca57c699c0b0ed4d0bb8ca70aebab5d to your computer and use it in GitHub Desktop.

Revisions

  1. dannetstudio created this gist Oct 6, 2022.
    3 changes: 3 additions & 0 deletions datetimezone.blade.php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    <x-date-time-zone :date="$model->created_at" />
    <x-date-time-zone :date="$model->created_at" format="d-m-Y H:i:s"/>
    <x-date-time-zone :date="$model->created_at" format="d/m/Y<\b\r>H:i"/>