fixed stupid type in strftime, localize datetime from database