config tells datespan, and whether to use fixed og offset date, for prepare