align the config of night and day