1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-07-15 01:25: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/core"
)
// Now returns new DateTime object with Time equal to time.Now().
// NOW returns new DateTime object with Time equal to time.Now().
// @returns (DateTime) - New DateTime object.
func Now(_ context.Context, args ...core.Value) (core.Value, error) {
err := core.ValidateArgs(args, 0, 0)