Pop-Up Thingie

  • Home
  • Synchronet BBS Software
  • Forum
  • Downloads
  • Files
  • Log in

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

    From Rob Swindell 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);`
  • From Rob Swindell 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.
  • From Rob Swindell 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"?
  • From echicken 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();
    ```
  • From Eric Oulashin 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..
  • Who's Online

  • Recent Visitors

    • Jas Hud
      Mon Apr 13 05:09:04 2026
      from Eob-Bbs.Com,wi via RLogin
    • Jopie
      Mon Apr 13 04:09:12 2026
      from Nowhere via SSH
    • Jopie
      Mon Apr 13 04:07:05 2026
      from Nowhere via SSH
    • Chris Jacobs
      Mon Apr 13 01:42:30 2026
      from Almere Netherlands via SSH
  • System Info

    Sysop: digital man
    Location: Riverside County, California
    Users: 1,151
    Nodes: 17 (1 / 16)
    Uptime: 27:05:55
    Calls: 509,169
    Calls today: 5
    Files: 289,795
    D/L today: 21,795 files
    (2,623M bytes)
    Messages: 468,426
    Posted today: 3

© Vertrauen, 2026