fixed #428 - Date format is lost after a db import