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/values/types"
)
// DateYear returns the year extracted from the given date.
// DATE_YEAR returns the year extracted from the given date.
// @params date (DateTime) - source DateTime.
// @return (Int) - a year number.
func DateYear(_ context.Context, args ...core.Value) (core.Value, error) {