Go to file
Andrew Gerrand 72b8aac9ec [release-branch.go1.2] blog: Fix atom feed's `updated' time when there's only one article.
««« CL 18420044 / e145aeb0df07
blog: Fix atom feed's `updated' time when there's only one article.

When computing the time for the "updated" tag of the atom feed, the
current code checks if there is more than one article and if that is
not true, it sets the time to the zero time.Time. This means that
the feed also gets the zero time in this tag when there is exactly one
article.

This trivial patch fixes this so that when there is exactly one
article, the time is set to that article's time.

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/18420044

»»»

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/23390043
2013-11-08 13:47:24 +11:00
blog [release-branch.go1.2] blog: Fix atom feed's `updated' time when there's only one article. 2013-11-08 13:47:24 +11:00
call go.tools/pointer: use new callgraph API. 2013-09-25 17:17:42 -04:00
cmd go.tools/cmd/godoc: search go.tools/cmd before $GOROOT/cmd 2013-10-18 10:42:41 +09:00
dashboard go.tools/dashboard: clone main repo from local path if it already exists locally. 2013-10-07 09:06:32 -07:00
go go.tools/go/types: return invalid type (rather than nil) for (*Label).Type() 2013-10-17 10:48:19 -07:00
godoc go.tools/godoc/static: fix & escape in codewalks 2013-10-13 22:22:48 -04:00
importer go.tools/ssa: implement correct control flow for recovered panic. 2013-10-14 15:38:56 -04:00
oracle go.tools/ssa: build a separate Function for each init() func. 2013-10-14 14:08:23 -04:00
playground go.tools/present: add support for non Go code execution 2013-10-14 14:14:08 -07:00
pointer go.tools/pointer: more reflection. 2013-10-17 09:26:44 -04:00
present present/code.go: remove residual file from an hg merge. 2013-10-02 11:02:33 +10:00
ssa go.tools/ssa/interp: use new Sizes interface (fix build) 2013-10-15 15:30:03 -07:00
.hgignore go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
AUTHORS go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
CONTRIBUTORS go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
LICENSE LICENSE: add 2012-03-17 15:20:58 +11:00
PATENTS go.empty: add PATENTS file to the subrepo. 2012-04-16 11:24:04 +10:00
README [release-branch.go1.2] create branch 2013-10-23 10:31:26 +04:00
codereview.cfg go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00

README

This subrepository holds the source for various packages and tools that support
the Go programming language.

Some of the tools, godoc and vet for example, are included in binary Go distributions.
Others, including the Go oracle and the test coverage tool, can be fetched with "go get".

Packages include a type-checker for Go and an implementation of the Single Static
Assignment (SSA) representation for Go programs.

To submit changes to this repository, see http://golang.org/doc/contribute.html.