leftypol_vichan/templates/post/time.html
discomrade e8251ade6a Change dates to ISO 8601-like, fix deprecation of strfdate() in PHP 8.1, fix non-GMT dates
Unfortunately this means there are two format strings needed when using JS for local time.
2024-01-30 10:05:42 -01:00

2 lines
118 B
HTML

<time datetime="{{ post.time|date('Y-m-d\\TH:i:s') }}{{ timezone() }}">{{ post.time|date(config.post_date) }}</time>