Subj : system.compiled_when property To : Nightfox From : Digital Man Date : Mon May 20 2013 12:43 pm Re: system.compiled_when property By: Digital Man to Nightfox on Mon May 20 2013 12:41 pm > Re: system.compiled_when property > By: Nightfox to Digital Man on Thu May 16 2013 07:16 pm > > > Hi DM, > > > > I saw that the bbs.compiled_when property is a string that contains the > > date when Synchronet was compiled. I noticed that it's in the following > > format: May 12 2013 05:02 > > Is it always in that format with month names in English, regardless of > > the system's region and language settings? > > Yes. It's a build-time string and the C standard dictates the format. > > Now, this is the date/time the executable was built, it does not tell you > that it's "v3.16a" for example. You could build v3.15b today and the > compiled_when property would contain today's date, but the version of the > source would still be an older one. Rather than basing your decision to use bbs.msg_number on the build date, why not check to see if it's non-zero? A zero message number is never valid. Just fall back to the previous behavior if the message number is zero. digital man Synchronet "Real Fact" #61: Name of Synchronet PCMS compiler/language "Baja" was coined by Michael Swindell. Norco, CA WX: 78.9øF, 47.0% humidity, 6 mph NW wind, 0.00 inches rain/24hrs .