Added strftime patch from Brian Bennett