You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/modules/timeutil
wxiaoguang 91aa263225
Make template `DateTime` show proper tooltip (#28677)
There was a question about "how to improve the datetime display for
SSH/PGP/WebAuthn"
https://github.com/go-gitea/gitea/pull/28262#issuecomment-1831141611

The root problem is that `DateTime` misses the "data-tooltip-content"
attribute, which should be used to make the tooltip popup smoothly.

Now the UI is consistent and the end users could see the detailed
hour/minute/second easily by hovering the element.


![image](https://github.com/go-gitea/gitea/assets/2114189/2211336f-d59d-4f64-a83b-099f8ef6d29b)


![image](https://github.com/go-gitea/gitea/assets/2114189/f02a9c86-476d-48d6-aece-85a800235fbd)
1 year ago
..
datetime.go Make template `DateTime` show proper tooltip (#28677) 1 year ago
datetime_test.go Make template `DateTime` show proper tooltip (#28677) 1 year ago
executable.go Implement FSFE REUSE for golang files (#21840) 2 years ago
since.go Add global setting how timestamps should be rendered (#28657) 1 year ago
since_test.go Use auto-updating, natively hoverable, localized time elements (#23988) 2 years ago
timestamp.go Refactor timeutil package (#28623) 1 year ago
timestampnano.go Fix incorrect webhook time and use relative-time to display it (#24477) 2 years ago