Commit Graph

37 Commits (main)

Author SHA1 Message Date
wxiaoguang b068dbd40e
Refactor DateUtils and merge TimeSince (#32409) 2 weeks ago
wxiaoguang 259811617b
Replace DateTime with proper functions (#32402) 3 weeks ago
wxiaoguang 654cfd1dfb
Refactor "dump" sub-command (#30240) 8 months ago
Yarden Shoham 3f1e4896b6
Remove the `time-since` class (#29826) 8 months ago
silverwind 256a1eeb9a
Add `<overflow-menu>`, rename webcomponents (#29400) 8 months ago
silverwind 857243bed7
Fix date rendering by adding `<gitea-absolute-date>` (#29725) 8 months ago
wxiaoguang f3eb835886
Refactor locale&string&template related code (#29165) 9 months ago
wxiaoguang 91aa263225
Make template `DateTime` show proper tooltip (#28677) 11 months ago
Yarden Shoham cdc33b29a0
Add global setting how timestamps should be rendered (#28657) 11 months ago
wxiaoguang e743570f65
Refactor timeutil package (#28623) 11 months ago
yp05327 dbb3736785
Fix incorrect webhook time and use relative-time to display it (#24477) 2 years ago
silverwind d6f8238492
Replace `N/A` with `-` everywhere (#24474) 2 years ago
Yarden Shoham cc84c58aff
Remove unused setting `time.FORMAT` (#24430) 2 years ago
wxiaoguang 0e8045d8ea
Fix template function DateTime (#24317) 2 years ago
Yarden Shoham 70bb4984cd
Allow using localized absolute date times within phrases with place holders and localize issue due date events (#24275) 2 years ago
silverwind 8dc6eabbc0
Update go tool dependencies, restructure lint targets (#24239) 2 years ago
Yarden Shoham b4e952545b
Remove untranslatable `on_date` key (#24106) 2 years ago
Yarden Shoham b7b5834831
Use auto-updating, natively hoverable, localized time elements (#23988) 2 years ago
wxiaoguang 8d5fbeb7a2
Use data-tooltip-content for tippy tooltip (#23649) 2 years ago
silverwind 272cf6a2a9
Make time tooltips interactive (#23526) 2 years ago
Gusted 40ba750c4b
Check for zero time instant in `TimeStamp.IsZero()` (#22171) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
KN4CK3R ed47d0062e
Fix `Timestamp.IsZero` (#21593) 2 years ago
zeripath bb0ff77e46
Share HTML template renderers and create a watcher framework (#20218) 2 years ago
KN4CK3R dc0253b063
Replace `ServeStream` with `ServeContent` (#20903) 2 years ago
silverwind 20b3a90450
Remove useless JS operation for relative time tooltips (#20756) 2 years ago
Gusted 5d3f99c7c6
Make better use of i18n (#20096) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
wxiaoguang d242511e86
Remove legacy unmaintained packages, refactor to support change default locale (#19308) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Lunny Xiao a1c12fb0b3
Don't store assets modified time into generated files (#18193) 3 years ago
John Olheiser c59afa752d
Allow mocking timeutil (#17354) 3 years ago
Lunny Xiao 154b23da0a
Fix display since time round (#14226) 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
Cirno the Strongest bbe13b60cd
Fix timezone on issue deadline (#11697) 5 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933) 5 years ago
Lunny Xiao 85202d4784
Display ui time with customize time location (#7792) 5 years ago