Subj : JS Object save_msg()
To   : deon
From : Digital Man
Date : Sat Dec 21 2024 04:59 pm

 Re: JS Object save_msg()
 By: deon to Digital Man on Sun Dec 22 2024 09:33 am

> Your change to when_written_time might affect those playing with the JS
> (like me), where I'm playing with dates/times for sorting and filtering and
> also referencing that back to the result of time(). :( I probably dont
> really have a need to reference them back to time(), but now I cant if I
> wanted to? EG: Not making a message visable until when_written_time <
> time().

No, it doesn't. The JS when_written_time property is still a time_t representation - I do the conversion (encoding upon assignemnt, decoding upon use) to the SMB date storage automatically for you.
--
                                           digital man (rob)

Synchronet/BBS Terminology Definition #73:
SMB = Synchronet Message Base (e.g. smblib)
Norco, CA WX: 62.3�F, 48.0% humidity, 3 mph WNW wind, 0.00 inches rain/24hrs