Summary: | packages.gentoo.org atom feeds use an invalid time zone +0000 UTC in updated fields | ||
---|---|---|---|
Product: | Websites | Reporter: | Chris Mayo <aklhfex> |
Component: | Packages | Assignee: | Gentoo Packages Website <gpackages> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | floppym |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Chris Mayo
2020-05-05 18:51:10 UTC
Which feed URL are you looking at? First seen with: https://packages.gentoo.org/packages/added.atom Updated also: https://packages.gentoo.org/packages/updated.atom Here's the relevant part from the Atom spec. https://tools.ietf.org/html/rfc4287#section-3.3 (In reply to Mike Gilbert from comment #3) > Here's the relevant part from the Atom spec. > > https://tools.ietf.org/html/rfc4287#section-3.3 It seems here that time.Now() in golang has non-RFC3339 string construction and so when we render time.time objects in the feeds they get the default render that is not RFC3339 compliant. https://play.golang.org/p/RWL2BKn9anw So we need to change how we render dates in the feed templates. -A This has been fixed some time ago. Thus I'm going to close this bug. Thanks again for pointing this out. |