fixed strftime