Add parsing for date components to shared models