RFC 3339 format gave error, but ISO 8601 worked amicably!

how did you use dayjs to convert date to rfc and from rfc to normal date?