aboutsummaryrefslogtreecommitdiff
path: root/include/timeutils.h
Commit message (Expand)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2025-02-281-1/+1
* Improve the consistency of duration strings.•••Unfortunately because of leap years we can't really make duration strings exact. Because of this we have always added 6 hours on to each year to make it correct over time. However, we did not do this in any kind of consistent way which resulted in weird roundtripped duration strings which made this very confusing for users While I'm touching the duration code I've also cleaned it up. Gravatar Sadie Powell2025-02-281-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2024-11-021-1/+1
* Add the Time::FromNow helper function.Gravatar Sadie Powell2024-10-031-1/+12
* Rename duration to timeutils and relocate InspIRCd::TimeString.Gravatar Sadie Powell2023-05-101-0/+73