https://gitlab.synchro.net/main/sbbs/-/commit/7e1dec3efa39d492d3c1b064
Modified Files:
src/sbbs3/ctrl/MainFormUnit.cpp src/sbbs3/date_str.c date_str.h slog.c Log Message:
Add minutes_as_hhmm(), enhance minutes_to_str(), and fix seconds_to_str()
- Refactor sectostr() - ancient mess, but worked okay I guess (no size arg)
- If seconds_to_str() was passed a value of 0, it'd return a pointer to the
end of the string (empty), so always leave the last 0 in the returned str
- minutes_to_str() now accepts an 'estimate' argument and can provide
duration estimates (to the fractional-hour), optionally
instead of an exact amount of hours, minutes, and seconds
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net