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

Feature/#8 datetime (#153)

This commit is contained in:
3timeslazy
2018-11-01 02:26:36 +03:00
committed by Tim Voronov
parent d8ae6cca8b
commit 612705ca3a
10 changed files with 297 additions and 36 deletions

View File

@ -4,6 +4,9 @@ import "github.com/MontFerret/ferret/pkg/runtime/core"
func NewLib() map[string]core.Function {
return map[string]core.Function{
"NOW": Now,
"NOW": Now,
"DATE": Date,
"DATE_DAYOFWEEK": DateDayOfWeek,
"DATE_YEAR": DateYear,
}
}