oairepository: fix date conversions