added a default config for date