aboutsummaryrefslogtreecommitdiff
path: root/include/timeutils.h
Commit message (Expand)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2026-06-051-1/+1
* Fix some minor doxygen warnings.Gravatar Sadie Powell2026-03-081-1/+0
* Add constants for the common time formats.Gravatar Sadie Powell2025-03-231-0/+12
* Rename ToHuman to ToLongString.•••This name is used by functions in too many places already. Gravatar Sadie Powell2025-03-181-2/+2
* Add an flag to ToHuman to shorten the output.Gravatar Sadie Powell2025-03-031-1/+6
* Add Duration::ToHuman and update messages to use it.Gravatar Sadie Powell2025-03-031-0/+7
* Splat some unfinished code that made it into the previous commit.Gravatar Sadie Powell2025-03-011-3/+2
* Avoid the use of ConvToStr in string concatenation.•••This function calls INSP_FORMAT in most cases nowadays so we may as well just call that manually. Gravatar Sadie Powell2025-03-011-2/+4
* 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