date-selector: fix code style