I'm not sure how you're generating your feed, but the POSIX date utility can give you the current time as an RFC 3339 timestamp, so long as your computer has the correct time:
date -u +%Y-%m-%dT%TZ
. POSIX date isn't aware of the local offset, so that command gives you timestamps in UTC.GNU date is aware of the local offset, and it has shorthand for these sorts of timestamps.
date -Is
will give you the local time with the proper offset.
I'm not sure how you're generating your feed, but the POSIX date utility can give you the current time as an RFC 3339 timestamp, so long as your computer has the correct time:
date -u +%Y-%m-%dT%TZ
. POSIX date isn't aware of the local offset, so that command gives you timestamps in UTC.GNU date is aware of the local offset, and it has shorthand for RFC 3339 timestamps.
date -Is
will give you the local time with the proper offset.
I'm not sure how you're generating your feed, but the POSIX date utility can give you the current time as an RFC 3339 timestamp, so long as your computer has the correct time:
date -u +%Y-%m-%dT%TZ
. POSIX date isn't aware of the local offset, so it will give you timestamps in UTC.GNU date is aware of the local offset, and it has shorthand for RFC 3339 timestamps.
date -Is
will give you the local time with the proper offset.