date-selector: fix code style format

Better legibility is always welcomed.