aboutsummaryrefslogtreecommitdiff
path: root/src/time/time_test.go
AgeCommit message (Expand)Author
2022-04-26time: fix quickcheck test to avoid wraparoundsRuss Cox
2022-03-27time: add Duration.AbsCarl Johnson
2022-03-18time: fix zoneinfo.zip locating logic when built with -trimpathBryan C. Mills
2021-11-05time: fix looking for zone offset when date is close to a zone transitionzhouguangyuan
2021-10-08time: allow minimum int64 in ParseDurationMeng Zhuo
2021-09-17time: support fractional timezone minutes in MarshalBinaryHowJMay
2021-06-24time: handle invalid UTF-8 byte sequences in quote to prevent panicAndy Pan
2021-03-27time: add Time.Unix{Milli,Micro} and to-Time helpers UnixMicro, UnixMilliConrad Irwin
2021-03-17time: check int64 overflow in Time.addSecAndy Pan
2021-03-15time: add Time.IsDST() to check if its Location is in Daylight Savings TimeJoel Courtney
2020-04-22time: use extended time format past end of zone transitionsIan Lance Taylor
2020-04-14time: quote original value in errors returned by ParseDurationObeyda Djeffal
2020-03-01time: optimize Time.ISOWeekShuo
2020-02-27runtime: don't panic on racy use of timersIan Lance Taylor
2019-08-16time: update TestSub to avoid future regressionsJoe Tsai
2019-08-16Revert "time: optimize Sub"Joe Tsai
2019-03-19time: optimize SubMichael Darakananda
2019-03-14time: add methods to convert duration to microseconds and millisecondsDerek Phan
2019-03-08time: add support for day-of-year in Format and ParseRuss Cox
2018-06-04runtime: don't crash holding locks on racy timer accessIan Lance Taylor
2018-04-16time: increase test coverage for Time.Subtengufromsky
2018-04-16time: go fmtKunpei Sakai
2018-04-12time: don't panic when stringifying Weekdayfraenkel
2018-04-04go/printer, gofmt: tuned table alignment for better resultsRobert Griesemer
2017-08-21time: fix grammar/spelling errors in test commentKevin Burke
2017-08-18time: add leap year test for DateKevin Burke
2017-03-31time: test and fix Time.Round, Duration.Round for d > 2⁶²Russ Cox
2017-02-14time: add Duration.Truncate and Duration.RoundCaleb Spare
2017-02-08time: bound file reads and validate LoadLocation argumentBrad Fitzpatrick
2016-11-12time: use 1e9 rather than 1e-9 in Duration calculationsIan Lance Taylor
2016-11-11time: don't panic stringifying the zero MonthBrad Fitzpatrick
2016-10-18time: be consistent about representation of UTC location in Time structRuss Cox
2016-10-06time: fix AddDate with nil locationSimon Rawet
2016-09-29time: update test for tzdata-2016gAlberto Donizetti
2016-09-19time: allow long fractions in ParseDurationRob Pike
2016-08-16all: fix "result not used" vet warningsJosh Bleecher Snyder
2016-04-21time: print zero duration as 0s, not 0Rob Pike
2016-03-02all: single space after period.Brad Fitzpatrick
2015-08-22time: Use AppendFormat in Marshal[Text|JSON]Justin Nuß
2015-07-11all: link to https instead of httpBrad Fitzpatrick
2015-01-15time: correctly parse large input durations and avoid precision lossMartin Möhrmann
2014-09-08build: move package sources from src/pkg to srcRuss Cox