Fix bugs duplicate days in Statistics. Change config to run on window environment