https://gitlab.synchro.net/main/sbbs/-/commit/525b70ed664b4fdb3da26c25
Modified Files:
docs/v322_new.md src/sbbs3/atcodes.cpp
Log Message:
@TUSED@/@TLEFT@: don't drop the first hours digit at 10+ hours
The truncated HH:MM:SS duration format (the default for @TUSED@ and
@TLEFT@) skipped the first character of sectostr()'s output to drop a
leading zero, but did so unconditionally: once a duration reached 10 hours
it removed the first digit of the hours instead, so a 14h44m session was
shown as "4:44:30" (e.g. "Time used:" in the stock logoff.msg) and 100
hours as "00:00:00". Skip the leading character only when it is a '0'.
Fixes #1336
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net