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"
)
// DateMonth returns the month of date as a number.
// DATE_MONTH returns the month of date as a number.
// @params date (DateTime) - source DateTime.
// @return (Int) - a month number.
func DateMonth(_ context.Context, args ...core.Value) (core.Value, error) {