Rewritten time periods and diary page (hopefully for the last time...) #44