Fix date picker for new version of foundation