fix for sugar-date which didn't include core