Fixed wrong date conversions and defaults