diff options
Diffstat (limited to 'vendor/golang.org/x/text/currency/example_test.go')
-rw-r--r-- | vendor/golang.org/x/text/currency/example_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/golang.org/x/text/currency/example_test.go b/vendor/golang.org/x/text/currency/example_test.go index f7984aa73..519c87228 100644 --- a/vendor/golang.org/x/text/currency/example_test.go +++ b/vendor/golang.org/x/text/currency/example_test.go @@ -16,12 +16,12 @@ func ExampleQuery() { for it := currency.Query(currency.Date(t1799)); it.Next(); { from := "" if t, ok := it.From(); ok { - from = t.Format("2006-01-01") + from = t.Format("2006-01-02") } fmt.Printf("%v is used in %v since: %v\n", it.Unit(), it.Region(), from) } // Output: - // GBP is used in GB since: 1694-07-07 + // GBP is used in GB since: 1694-07-27 // GIP is used in GI since: 1713-01-01 // USD is used in US since: 1792-01-01 } |