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:
@ -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) {
|
||||
|
Reference in New Issue
Block a user