Fix date parsing format for PGSQL 9.3