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,840 of 43,341    |
|    deon to Digital Man    |
|    JS Object save_msg()    |
|    18 Dec 24 00:27:22    |
   
   TZUTC: 1100   
   MSGID: 50194.dove-syncdisc@12:1/2 2bc7764c   
   REPLY: 53242.sync@1:103/705 2bc71b98   
   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 Mon Dec 16 2024 10:09 pm   
      
   Howdy,   
      
    > > date = strftime("%a, %d %b %Y %I:%M:%S %z",time());   
    > > // Tue, 17 Dec 2024 02:32:19 +1100   
    >   
    > MsgBase.save_msg() will using the current date/time and time zone when   
    > saving a message. You have a reason to not do this?   
      
   Yes - I'm setting the time of some messages to the same time of a file   
   (obtained by new File().date - which also is returning a time_t)   
      
    > You shouldn't use the 'date' property unless you have to. Either use the   
    > default (current date/time and zone) are set the when_written_time and   
    > when_written_zone header fields instead.   
      
   OK, I'll try. What is a valid use case of using the "date" property - I'm   
   curious since it is a valid argument?   
      
    > > date = strftime("%a, %d %b %Y %I:%M:%S %z",time());   
    > > // Tue, 17 Dec 2024 02:32:19 +1100   
    > > a) Shouldnt the strftime() call return "14:32:19 +1100" - which would fix   
    > > the when_written value. (The message renders with a "written 12hrs ago"   
    > > statement).   
      
   I'm still wondering why strftime() is still returning an invalid time - out by   
   the timezone plus 1 hr?   
      
      
   ...лоеп   
      
   ---   
    ю Synchronet ю AnsiTEX bringing back videotex but with ANSI   
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)   
   SEEN-BY: 103/705 105/81 106/201 124/5016 128/187 153/757 7715 154/10   
   SEEN-BY: 154/30 203/0 218/700 221/0 226/30 227/114 229/110 114 206   
   SEEN-BY: 229/317 400 426 428 550 700 705 240/1120 5832 266/512 280/464   
   SEEN-BY: 280/5003 5006 282/1038 291/111 292/8125 301/1 310/31 320/219   
   SEEN-BY: 322/757 341/66 234 342/200 396/45 423/120 460/58 256 1124   
   SEEN-BY: 467/888 633/280 712/848 770/1 902/26 5020/400 5054/30 5075/35   
   PATH: 103/705 280/464 460/58 229/426   
      
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca