Pop-Up Thingie

Dock Sud BBS
  • Inicio
  • Forum
  • Files
  • Bulletins
  • Log in

  1. Forum
  2. DOVE-Net
  3. Synchronet Programming C+
  • DDFileLister: Now supports editing file info (with the E key).

    From Rob Swindell@VERT to GitLab note in main/sbbs on Fri Aug 16 18:28:29 2024
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/453#note_5532

    This looks like an odd way to do this conversion to a time_t value.

    You're aware the Date object has multiple constructors? https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/Date

    So, I think you could boil function this down to a single line that doesn't involve any string formatting or parsing:
    `return new Date(pYear, pMonthNum - 1, pDayNum, pHour, pMinute, pSecond === undefined ? 0 : pSecond);`
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Fri Aug 16 18:28:29 2024
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/453#note_5533

    You should use the `system.temp_dir` for temporary files instead.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Fri Aug 16 20:55:31 2024
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/453#note_5535

    What is a "TimeTF"?
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to GitLab note in main/sbbs on Fri Aug 16 21:01:10 2024
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/453#note_5536

    Or instead of this function just do:

    ```js
    var t = Date.parse(format('%s-%s-%sT%s:%s', yearStr, monthNumStr, dayNumStr, hourStr, minuteStr)) / 1000;
    if (isNaN(t)) spontaneouslyCombustRatherThanSetIncorrectScanPointerTime();
    ```
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to GitLab note in main/sbbs on Fri Aug 16 21:26:14 2024
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/453#note_5537

    TimeTFFrom.. was a typo.
    Sometimes it would be good to find better documentation on things, such as the Date class constructor in this case..
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • Who's Online

  • Recent Visitors

    • Ragnarok
      Sat Sep 13 04:32:13 2025
      from Dock Sud via Telnet
    • Gus8027
      Sat Sep 13 03:35:28 2025
      from Buenos Aies via Telnet
    • Ragnarok
      Sat Sep 13 01:51:04 2025
      from Dock Sud via HTTP
    • Ragnarok
      Sat Sep 13 01:50:17 2025
      from Dock Sud via SSH
    • Guest
      Sat Sep 13 00:25:47 2025
      from Linuxshell via Raw
    • Damian Kleiman
      Fri Sep 12 22:55:56 2025
      from Rosario, Sf via Telnet
    • Ragnarok
      Fri Sep 12 09:09:14 2025
      from Dock Sud via NNTP
    • Ragnarok
      Thu Sep 11 20:41:27 2025
      from Dock Sud via SSH
    • Damian Kleiman
      Thu Sep 11 00:01:30 2025
      from Rosario, Sf via Telnet
    • Ragnarok
      Wed Sep 10 22:41:23 2025
      from Dock Sud via SSH
  • System Info

    Sysop: Ragnarok
    Location: Dock Sud, Bs As, Argentina
    Users: 136
    Nodes: 10 (0 / 10)
    Uptime: 08:32:43
    Calls: 15,171
    Calls today: 4
    Files: 19,857
    D/L today: 18 files
    (854K bytes)
    Messages: 1,691,507

© Dock Sud BBS, 2025