mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
Unexport pql.TimeFormat
This commit is contained in:
parent
75ea43c9da
commit
fb7de28557
2 changed files with 3 additions and 3 deletions
|
|
@ -445,7 +445,7 @@ func formatValue(v interface{}) string {
|
|||
case []uint64:
|
||||
return fmt.Sprintf("%s", joinUint64Slice(v))
|
||||
case time.Time:
|
||||
return fmt.Sprintf("\"%s\"", v.Format(TimeFormat))
|
||||
return fmt.Sprintf("\"%s\"", v.Format(timeFormat))
|
||||
case *Condition:
|
||||
return v.String()
|
||||
default:
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@ import (
|
|||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
// TimeFormat is the go-style time format used to parse string dates.
|
||||
const TimeFormat = "2006-01-02T15:04"
|
||||
// timeFormat is the go-style time format used to parse string dates.
|
||||
const timeFormat = "2006-01-02T15:04"
|
||||
|
||||
// parser represents a parser for the PQL language.
|
||||
type parser struct {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue