1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-08 11:37:20 +00:00

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

Backport #29725 by @silverwind

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="https://github.com/go-gitea/gitea/assets/115237/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="https://github.com/go-gitea/gitea/assets/115237/a70432f3-97b6-41e6-b202-b53b76924a66">

Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
Giteabot
2024-03-13 08:04:58 +08:00
committed by GitHub
parent 12b429c0d1
commit 6124c78de0
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';