Hi,
I've foun a little problem in the format_smfdate() function, the following code snippet don't consider all leap years:
/* convert julian date into sane date */
if ((year % 4 == 0) && ((year % 100 == 0) && (year % 400 == 0)))
month_days[1] += 1;
I suggest the correction :
/* convert julian date into sane date */
if ((year % 4 == 0) && **!**((year % 100 == 0) && (year % 400 == 0)))
month_days[1] += 1;
TIA