From 1db7cd09c23032de89ba1c7aa78390746d4136ac Mon Sep 17 00:00:00 2001 From: Kevin Miller Date: Mon, 14 Aug 2023 11:41:38 -0500 Subject: [PATCH] add clarifying comment Signed-off-by: Kevin Miller --- ymdflag.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ymdflag.go b/ymdflag.go index 77cdc50..fc1bb06 100644 --- a/ymdflag.go +++ b/ymdflag.go @@ -44,7 +44,7 @@ func YMDToTime(yyyymmdd int, loc *time.Location) time.Time { return time.Date(year, time.Month(month), day, 0, 0, 0, 0, loc) } -// TimeToYMD returns the YYYYMMDD for the Time in its location. +// TimeToYMD returns the YYYYMMDD for the time.Time in that Time's location. // A zero time returns a 0 value. func TimeToYMD(t time.Time) int { if t.IsZero() {