• addfiles.js

    From TinTino@1:103/705 to Digital Man on Mon Mar 21 17:59:58 2022
    Hi,

    -date=<fmt> specify date/time display format (strftime syntax)");

    How is the syntax for strftime, cant get it work.

    /Fidde

    ---
    þ Synchronet þ Pepzi - Pepzi.se - 1000/1000 MBits
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Andre@1:103/705 to TinTino on Mon Mar 21 13:18:57 2022
    Re: addfiles.js
    By: TinTino to Digital Man on Mon Mar 21 2022 05:59 pm

    How is the syntax for strftime, cant get it work.

    https://strftime.org/


    - Andre

    ---
    þ Synchronet þ Radio Mentor BBS - bbs.radiomentor.org
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Andre@1:103/705 to TinTino on Mon Mar 21 13:20:28 2022
    Re: addfiles.js
    By: TinTino to Digital Man on Mon Mar 21 2022 05:59 pm

    How is the syntax for strftime, cant get it work.

    Sorry, my last reply wasn't as appropriate.

    https://www.cplusplus.com/reference/ctime/strftime/


    - Andre

    ---
    þ Synchronet þ Radio Mentor BBS - bbs.radiomentor.org
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From TinTino@1:103/705 to Andre on Mon Mar 21 20:57:49 2022
    Sorry it dont help me. I write wrong before, i mean in filelist.js, i know how i shold write the syntax, it give me only errors.

    ---
    þ Synchronet þ Pepzi - Pepzi.se - 1000/1000 MBits
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to TinTino on Mon Mar 21 14:02:18 2022
    Re: addfiles.js
    By: TinTino to Andre on Mon Mar 21 2022 08:57 pm

    Sorry it dont help me. I write wrong before, i mean in filelist.js, i know how i shold write the syntax, it give me only errors.

    What errors does it give you?

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Andre@1:103/705 to TinTino on Mon Mar 21 16:42:21 2022
    Re: addfiles.js
    By: TinTino to Andre on Mon Mar 21 2022 08:57 pm

    Sorry it dont help me. I write wrong before, i mean in filelist.js, i know how i shold write the syntax, it give me only errors.

    Paste the command line you're using into a reply to this message. Also paste the error message.


    - Andre

    ---
    þ Synchronet þ Radio Mentor BBS - bbs.radiomentor.org
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Max@1:103/705 to All on Sun Jan 19 01:03:28 2025
    When I tried to add files to sbbs, i only get this error.

    :\SBBS\Exec\addfiles.js compiled in 0.00 seconds
    Adding files to Text-Filer Fillista
    !JavaScript S:\SBBS\Exec\addfiles.js line 248: Error: Argument #1 is an unexpected 'null' or 'undefined' value
    S:\SBBS\Exec\addfiles.js executed in 0.04 seconds
    !Module (addfiles) set exit_code: 1

    JavaScript: Destroying context
    JavaScript: Destroying runtime

    Returning error code: 1

    What to do??

    ---
    þ Synchronet þ Pepzi - Pepzi.net - 1000/1000 MBits
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Max on Sat Jan 18 17:01:20 2025
    Re: addfiles.js
    By: Max to All on Sun Jan 19 2025 01:03 am

    When I tried to add files to sbbs, i only get this error.

    :\SBBS\Exec\addfiles.js compiled in 0.00 seconds
    Adding files to Text-Filer Fillista
    !JavaScript S:\SBBS\Exec\addfiles.js line 248: Error: Argument #1 is an unexpected 'null' or 'undefined' value S:\SBBS\Exec\addfiles.js executed in 0.04 seconds
    !Module (addfiles) set exit_code: 1

    JavaScript: Destroying context
    JavaScript: Destroying runtime

    Returning error code: 1

    What to do??

    Thanks for the report. This is a recent regression in v3.20c. I just commited a fix to the repo.
    --
    digital man (rob)

    Sling Blade quote #10:
    Morris: I stand on the hill, not for thrill, but for the breath of a fresh kill Norco, CA WX: 59.5øF, 56.0% humidity, 4 mph W wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)