Just a sample of the Echomail archive
Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.
|    SYNCHRONET    |    Rob Swindell fetishistic worship forum    |    43,341 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 40,850 of 43,341    |
|    deon to Digital Man    |
|    JS Object save_msg()    |
|    18 Dec 24 15:42:12    |
   
   TZUTC: 1100   
   MSGID: 50204.dove-syncdisc@12:1/2 2bc84cc0   
   REPLY: 53254.sync@1:103/705 2bc82d13   
   PID: Synchronet 3.20a-Linux master/7b932f63e Dec 9 2023 GCC 10.2.1   
   TID: SBBSecho 3.23-Linux master/bbf9d5eac Dec 14 2024 GCC 12.2.0   
   COLS: 80   
   BBSID: ALTERANT   
   CHRS: CP437 2   
   NOTE: FSEditor.js v1.105   
    Re: JS Object save_msg()   
    By: Digital Man to deon on Tue Dec 17 2024 05:36 pm   
      
   Howdy,   
      
    > What do you have set in SCFG->System->Local Time Zone? This is the default   
    > time zone information used by MsgBase.save_msg() and stored in the message   
    > header (if not otherwise specified in the message header object).   
    >   
    > It should be storing whatever you have configured in SCFG->System->Local   
    > Time Zone.   
      
   OK, it is UTC in there.   
      
   So this just is confusing, and IMHO messed up. I must have the wrong   
   impression of Syncs timezone handling.   
      
   If you dont supply a datetime stamp (via any of the header save attributes   
   that have a date/time), and Sync "figures it out" why cant it figure out the   
   timezone of that time it gets as well?   
      
   Sync obviously knows the time zone - given that it displayed that message,   
   that it saved 3s earlier with a "UTC" timezone as "11 hrs from now". Its not   
   using that System->Local->Time Zone when displaying the message?   
      
   I think it can be improved, but if I'm wrong, I'd like to understand why my   
   thinking is wrong...   
      
   Oh, and there *is* a problem with strftime(), but it may not be SBBS related.   
      
   2-3 hrs ago, my test script:   
      
   writeln(strftime("%a, %d %b %Y %I:%M:%S %z",time()));   
      
   was returning a correct date/time and timezone information - had me baffled,   
   especially after I posted yesterday.   
      
   Now, its out again by 12 hrs:   
   > date   
   Wed Dec 18 15:26:39 AEDT 2024   
      
   > jsexec ansitex/tools/test-strftime.js   
   Wed, 18 Dec 2024 03:27:19 +1100   
      
   Its out by 12 hrs, as it should be Wed, 18 Dec 2024 15:27:19 +1100   
      
   > php tools/test-strftime.php   
   Wed, 18 Dec 2024 03:27:19 +1100   
      
   This has got me stumped.   
      
      
   ...лоеп   
      
   ---   
    ю Synchronet ю AnsiTEX bringing back videotex but with ANSI   
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)   
   SEEN-BY: 10/0 1 102/401 103/1 17 705 105/81 106/201 124/5016 128/187   
   SEEN-BY: 153/7715 218/0 1 215 601 700 840 860 880 226/30 227/114 229/110   
   SEEN-BY: 229/114 206 317 400 426 428 550 700 705 266/512 280/464 282/1038   
   SEEN-BY: 291/111 301/1 320/219 322/757 342/200 396/45 460/58 633/280   
   SEEN-BY: 712/848 902/26 5075/35   
   PATH: 103/705 218/700 229/426   
      
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca