Commit Graph

4 Commits

Author SHA1 Message Date
wxiaoguang 4a469c8e1b
Refactor template ctx and render utils ()
Clean up the templates
2024-11-05 14:04:26 +08:00
wxiaoguang b068dbd40e
Refactor DateUtils and merge TimeSince ()
Follow  and 
2024-11-04 11:30:00 +00:00
wxiaoguang 259811617b
Replace DateTime with proper functions ()
Follow 

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.
2024-11-02 21:04:53 +00:00
wxiaoguang fec6b3d500
Replace DateTime with DateUtils () 2024-11-02 04:08:28 +00:00