Change datetime format in spectrum data header.

Use `strftime` with "%F %T" format instead of `ctime`.