• S3 Shell Funky Date

    From Mindless Automaton@ELDRITCH to DOVE-Net.Programming_(Jav on Thursday, April 13, 2006 13:37:00
    When I log in I get:

    SERVER NAME: Eldritch Clockwork (eldritch.darktech.org)
    ADMIN: Mindless Automaton
    SOFT: Synchronet BBS for Win32 Version 3.13
    OS: Windows NT Version 5.1 (Build 2600) Service Pack 2
    TIME: Thursday AMril 13, 2006 at 12:34 AM

    CLIENT NODE: 1 of 10


    I took a look at inc_dates.js and login.js but I don't spot anything
    obvious to me.

    April is spelled right in inc_dates.js. :) I'm not sure why it shows AM instead of PM either.

    Computer clock is set correctly..

    I'll have a better look when I get home though..

    Thanks,

    Mindless Automaton
    ---
    ■ Synchronet ■ Eldritch Clockwork BBS
  • From Mindless Automaton@ELDRITCH to Mindless Automaton on Saturday, April 15, 2006 21:06:00

    TIME: Thursday AMril 13, 2006 at 12:34 AM

    My guess is in inc_date.js at the end of the file:


    return strFormat.replace(/yyyy/ig,yyyy).<snip>

    ).replace(/nn/ig,nn).replace(/ss/ig,ss).replace(/ap/ig,ap);

    The replace (/ap/ig,ap) is replacing the AP in April with AM or PM.

    If you change the variable ap in inc_date.js lines: 37 & 68 to ampm,
    this should fix it. :)

    -Mindless Automaton
    ---
    ■ Synchronet ■ Eldritch Clockwork BBS