CORE-4819: updated the period formatter to include days