[haiku-bugs] Re: [Haiku] #6734: query not working when specifying an interval

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Fri, 27 Jan 2017 21:44:45 -0000

#6734: query not working when specifying an interval
--------------------------------+------------------------------------
   Reporter:  zuMi              |      Owner:  axeld
       Type:  bug               |     Status:  closed
   Priority:  normal            |  Milestone:  R1
  Component:  Kits/Storage Kit  |    Version:  R1/Development
 Resolution:  fixed             |   Keywords:  query, interval, range
 Blocked By:                    |   Blocking:
Has a Patch:  0                 |   Platform:  All
--------------------------------+------------------------------------

Comment (by axeld):

 `%today%` is parsed via parsedate(), and returns a time_t. IIRC the query
 is run against the time_t value, not the crippled bigtime_t one, so using
 `date +%s` should work just fine.

--
Ticket URL: <https://dev.haiku-os.org/ticket/6734#comment:12>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: