forgejo/modules/timeutil
yp05327 701d98adbf
Fix incorrect webhook time and use relative-time to display it (#24477)
Fixes #24414
After click replay this webhook, it will display `now`

![image](https://user-images.githubusercontent.com/18380374/235559399-05a23927-13f5-442d-8f10-2c7cd24022a0.png)

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
(cherry picked from commit dbb3736785)
(cherry picked from commit 198a8f6539b29bb39946e6528eaaa47e36d52432)
2023-07-03 13:01:10 +02:00
..
executable.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
language.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
since.go Make time tooltips interactive (#23526) (#23527) 2023-03-16 16:23:11 -05:00
since_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
timestamp.go Check for zero time instant in TimeStamp.IsZero() (#22171) 2022-12-20 10:04:55 +08:00
timestampnano.go Fix incorrect webhook time and use relative-time to display it (#24477) 2023-07-03 13:01:10 +02:00