There is no defined routine for it. However, a workaround is to do the following if you have accidentally done it:
create a configuration package with the accounting period table. Export to Excel and correct it. Back in your configuration package place a tick in the “delete before processing” (or similar name) field. Import the excel and apply the data.
go back to the page. I would only do this if you haven’t posted the close income statement journal.