bug fix for date lib
EoD