mirror of
https://github.com/avinal/box-box.git
synced 2026-01-09 21:18:32 +05:30
fix: date format getting too long
Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -27,7 +27,7 @@
|
||||
<!-- <hr class="border-t-1 border-black" /> -->
|
||||
</div>
|
||||
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
|
||||
{{ $dateHuman := .Date | time.Format ":date_long" }}
|
||||
{{ $dateHuman := .Date | time.Format ":date_medium" }}
|
||||
<time
|
||||
datetime="{{ $dateMachine }}"
|
||||
class="border border-black py-1 px-2 group-hover:bg-cyan-400 font-sm dark:border-white dark:group-hover:text-black dark:group-hover:border-black"
|
||||
@@ -88,7 +88,7 @@
|
||||
/>
|
||||
</div>
|
||||
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
|
||||
{{ $dateHuman := .Date | time.Format ":date_long" }}
|
||||
{{ $dateHuman := .Date | time.Format ":date_medium" }}
|
||||
<time
|
||||
datetime="{{ $dateMachine }}"
|
||||
class="border border-black py-1 px-2 group-hover:bg-cyan-400 font-sm dark:border-white dark:group-hover:text-black dark:group-hover:border-black"
|
||||
|
||||
Reference in New Issue
Block a user