• src/sbbs3/date_str.c

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Mon Oct 28 21:55:26 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/d947d1400c9e1b8ee9a40c80
    Modified Files:
    src/sbbs3/date_str.c
    Log Message:
    This isn't C++ and some C compilers don't support the {} initializer syntax
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Tue Oct 29 20:20:16 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/354d296aec34dec9757c7192
    Modified Files:
    src/sbbs3/date_str.c
    Log Message:
    unixtodstr() will output "00/00/00" on invalid dates instead of "01/00/00"

    "01/00/00" would get parsed/converted back to Jan-1-2000 (usually), which is usually not what we want.
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sat Nov 16 22:24:28 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/9ddc84f8da3c84bb14e71223
    Modified Files:
    src/sbbs3/date_str.c
    Log Message:
    Treat -1 as invalid time in time_as_hhmm()
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wed Jan 8 18:56:14 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/eff23a68c2a488d054195eae
    Modified Files:
    src/sbbs3/date_str.c
    Log Message:
    Fix extra char output from datestr() when given a time_t value of 0.
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Mon Jan 5 05:29:36 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/20122f0d32435338e2c23ab4
    Modified Files:
    src/sbbs3/date_str.c
    Log Message:
    Don't have minutes_to_str() estimate durations <= 60 minutes

    "30m" looks better than "0.5h" I think.

    "59m" is definitely more accurate than "1.0h" and it's fewer chars.
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wed Jan 7 23:21:25 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/262891b5357c86cd3ecfdbea
    Modified Files:
    src/sbbs3/date_str.c
    Log Message:
    Fix printf faux pas caught by GCC

    in new function: tm_as_hhmmss() in the 24hr/military time configuration
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net