fixing date conversions on centos