]> Cypherpunks repositories - gostls13.git/commit
time: add basic YYYY/MM/DD example to time docs
authorJean de Klerk <deklerk@google.com>
Mon, 24 Feb 2020 20:44:56 +0000 (13:44 -0700)
committerJean de Klerk <deklerk@google.com>
Tue, 25 Feb 2020 04:34:15 +0000 (04:34 +0000)
commit0d4fa27fd71d12670b7efe06fce3a5b769fa79ce
treef2f111c99288d54087a663aca98dd4d9bf5e7fc6
parent7485050c0f55492c0fdfc41f7564f3da37a1a308
time: add basic YYYY/MM/DD example to time docs

This is a _very_ common question [1]. Let's just make an example for it.

1: https://www.google.com/search?q=golang+yyyy-mm-dd&oq=golang+yyyy-mm-dd&aqs=chrome..69i57j0l4j69i64l3.6015j0j7&sourceid=chrome&ie=UTF-8

Change-Id: I32ae689b91018d326f31a2442a1beaf68dddf13c
Reviewed-on: https://go-review.googlesource.com/c/go/+/220595
Run-TryBot: Jean de Klerk <deklerk@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/time/example_test.go