Converts to actual calendar format on document ready