Update comments.
This commit is contained in:
parent
6e446ee100
commit
641c62098c
2 changed files with 4 additions and 4 deletions
|
|
@ -64,7 +64,7 @@ func INTERVAL(quantityAndUnit ...quantityAndUnit) IntervalExpression {
|
|||
return newInterval
|
||||
}
|
||||
|
||||
// INTERVALd creates interval expression from duration
|
||||
// INTERVALd creates interval expression from time.Duration
|
||||
func INTERVALd(duration time.Duration) IntervalExpression {
|
||||
days, hours, minutes, seconds, microseconds := utils.ExtractDateTimeComponents(duration)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue