simplify date style generator