aboutsummaryrefslogtreecommitdiff
path: root/src/time/example_test.go
AgeCommit message (Expand)Author
2022-04-27time: document hhmmss formatscuiweixie
2021-11-05time: add some examplesjiahua wang
2020-05-26runtime, time: gofmtTobias Klauser
2020-05-22time: simplify Duration.String exampleRuss Cox
2020-04-14time: quote original value in errors returned by ParseDurationObeyda Djeffal
2020-03-02time: use values larger than 24 for day for time.Format examplesJean de Klerk
2020-02-25time: add basic YYYY/MM/DD example to time docsJean de Klerk
2019-11-10time: change variable name to nextAgniva De Sarker
2019-10-15time: avoid or clarify CESTIan Lance Taylor
2019-09-17time: add examples for microseconds and milliseconds methodsPantelis Sampaziotis
2019-02-28time: move the explanation of u/micro to the ParseDuration exampleRob Pike
2019-02-27time: rewrite ExampleDuration_Nanoseconds to be more idiomatic.Rob Pike
2019-02-26time: parse 1us in Nanoseconds exampleAlberto Donizetti
2018-10-31time: display results in examples rather soonYury Smolsky
2018-08-30time: add example for LoadLocationVenil Noronha
2018-07-12time: fix typo in Truncate exampleKeith Rarick
2018-02-13time: add example for FixedZoneKevin Burke
2017-12-06time: condense, expand Time.Unix exampleRuss Cox
2017-11-13time: add example for Time.UnixAdrian Hesketh
2017-11-06time: example in doc for time.AppendFormat funcRadek Sohlich
2017-11-02time: fix incorrect "zero padding" commentsKenny Grant
2017-11-02time: fix incorrect "zero pad" comment in exampleBlixt
2017-11-01time: improve comments about valid layouts being invalid Parse valuesIan Lance Taylor
2017-10-31time: document that valid layouts are not valid Parse valuesKenny Grant
2017-09-09time: add a number of new examplesAdrian Hesketh
2017-09-09time: change wording in duration hours exampleJuan Carlos
2017-09-09time: add an example to the NewTicker functionElbert Fliek
2017-08-11time: add examples for Duration functionsmolivier
2017-06-28time: show how to get midnight on the current dayKevin Burke
2016-09-12time: improve Truncate and Round documentationQuentin Smith
2016-03-01all: make copyright headers consistent with one space after periodBrad Fitzpatrick
2015-03-26time: add a thorough example for time.FormatRob Pike
2014-09-08build: move package sources from src/pkg to srcRuss Cox