1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-07-05 00:49:00 +02:00

Added missed DATE_COMPARE and updated comments (#537)

This commit is contained in:
Tim Voronov
2020-07-13 15:39:33 -04:00
committed by GitHub
parent 213f9b1fd6
commit 42cf623471
19 changed files with 20 additions and 19 deletions

View File

@ -8,7 +8,7 @@ import (
"github.com/MontFerret/ferret/pkg/runtime/values/types"
)
// DateDiff returns the difference between two dates in given time unit.
// DATE_DIFF returns the difference between two dates in given time unit.
// @params date1 (DateTime) - first DateTime.
// @params date2 (DateTime) - second DateTime.
// @params unit (String) - time unit to return the difference in.