File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -928,20 +928,20 @@ func (v intervalValue) Yql() string {
928928 }
929929 buffer .WriteByte ('P' )
930930 if days := d / time .Hour / 24 ; days > 0 {
931- d -= days * time .Hour * 24
931+ d -= days * time .Hour * 24 //nolint:durationcheck
932932 buffer .WriteString (strconv .FormatInt (int64 (days ), 10 ))
933933 buffer .WriteByte ('D' )
934934 }
935935 if d > 0 {
936936 buffer .WriteByte ('T' )
937937 }
938938 if hours := d / time .Hour ; hours > 0 {
939- d -= hours * time .Hour
939+ d -= hours * time .Hour //nolint:durationcheck
940940 buffer .WriteString (strconv .FormatInt (int64 (hours ), 10 ))
941941 buffer .WriteByte ('H' )
942942 }
943943 if minutes := d / time .Minute ; minutes > 0 {
944- d -= minutes * time .Minute
944+ d -= minutes * time .Minute //nolint:durationcheck
945945 buffer .WriteString (strconv .FormatInt (int64 (minutes ), 10 ))
946946 buffer .WriteByte ('M' )
947947 }
You can’t perform that action at this time.
0 commit comments