1
0
Fork 0
forked from forgejo/forgejo

Fix date rendering by adding <gitea-absolute-date> (#29725)

Alternative to: https://github.com/go-gitea/gitea/pull/29698
Fixes: https://github.com/go-gitea/gitea/issues/29034

<img width="278" alt="image"
src="12ecd967-2723-410d-8a28-a1b0f41b7bba">

It also fixes a secondary issue that we were showing timestamp tooltips
over date, which makes no sense, so these are now gone as well:

<img width="284" alt="image"
src="a70432f3-97b6-41e6-b202-b53b76924a66">

(cherry picked from commit 857243bed7f9dccdc597c2941df41e821781cb0f)
This commit is contained in:
silverwind 2024-03-12 23:37:02 +01:00 committed by Earl Warren
parent 0a88259df4
commit f98211f13a
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
5 changed files with 67 additions and 14 deletions

View file

@ -3,3 +3,4 @@ import './polyfill.js';
import '@github/relative-time-element';
import './GiteaOriginUrl.js';
import './GiteaAbsoluteDate.js';