Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update golangci-lint to v1.62.2, fix issues (#32845) | silverwind | 2024-12-15 | 1 | -3/+3 |
| | | | Update it and fix new issues related to `redefines-builtin-id` | ||||
* | Fix milestone deadline and date related problems (#32339) | Lunny Xiao | 2024-11-05 | 1 | -1/+1 |
| | | | | | | | | | Use zero instead of 9999-12-31 for deadline Fix #32291 --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Giteabot <teabot@gitea.io> | ||||
* | Refactor template ctx and render utils (#32422) | wxiaoguang | 2024-11-05 | 1 | -18/+0 |
| | | | Clean up the templates | ||||
* | Refactor DateUtils and merge TimeSince (#32409) | wxiaoguang | 2024-11-04 | 1 | -10/+101 |
| | | | Follow #32383 and #32402 | ||||
* | Replace DateTime with proper functions (#32402) | wxiaoguang | 2024-11-02 | 1 | -0/+26 |
| | | | | | | | | | Follow #32383 This PR cleans up the "Deadline" usages in templates, make them call `ParseLegacy` first to get a `Time` struct then display by `DateUtils`. Now it should be pretty clear how "deadline string" works, it makes it possible to do further refactoring and correcting. | ||||
* | Replace DateTime with DateUtils (#32383) | wxiaoguang | 2024-11-02 | 1 | -0/+34 |