range foundation

This commit is contained in:
Todd Gruben 2014-08-11 20:26:31 +00:00
parent 74f47e32ee
commit ef298b2c79
2 changed files with 3 additions and 1 deletions

View file

@ -82,7 +82,7 @@ func (self *QueryParser) Parse() (query *Query, err error) {
if token.Type != TYPE_LP {
return nil, fmt.Errorf("Expected '(', found token %v.", token)
}
const shortForm = "2006-01-02 15:04"
const shortForm = "2006-01-02T15:04"
ArgLoop:
for {

View file

@ -359,6 +359,7 @@ func init() {
gob.Register(BaseQueryResult{})
gob.Register(SetQueryResult{})
gob.Register(GetQueryResult{})
gob.Register(RangeQueryResult{})
gob.Register(CatQueryResult{})
gob.Register(UnionQueryResult{})
gob.Register(IntersectQueryResult{})
@ -368,6 +369,7 @@ func init() {
gob.Register(SetQueryStep{})
gob.Register(GetQueryStep{})
gob.Register(RangeQueryStep{})
gob.Register(CatQueryStep{})
gob.Register(UnionQueryStep{})
gob.Register(IntersectQueryStep{})