Welcome to Geeklog, Anonymous Wednesday, October 14 2026 @ 09:43 pm EDT

Geeklog Forums

Time-delimited search for Groklaw


Status: offline

Scott_Lazar

Forum User
Newbie
Registered: 10/09/04
Posts: 1
caffeinated
Hi,

This is my first visit (and post) here on Geeklog, so please pardon me if I'm posting this in the wrong area.

When doing the following search:

query=&keyType=phrase&datestart=2004-10-08&dateend=2004-10-08&topic=0&type=all&author=1&mode=search

This will give me all the posts for this user for this day. I'm wondering if there are any kind of fields like ×tart and &timeend, and if so, what format they are in (such as 180000 for 18:00 hours or like in my work environment (a Solaris/Oracle system) seconds past midnight - 64800) so that searches can be further delimited to a specific time period in addition to a specific day or person. If this type of granularity is not available, what would it take to implement it? This is for Groklaw.

Thanks in advance for any replies.

Scott

------
Linux - CLEARLY Superior!
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
No, times aren't supported. I guess hardly any Geeklog site (with the exception of Groklaw ...) has so many posts that they would need it.

It shouldn't be hard to add, though. If you check out the search class, /path/to/geeklog/system/classes/search.class.php, and search for "mktime", you'll see that it uses zeros and 23:59:59 to fill the start / end date for the search. If you add the proper time there, you should be done ...

bye, Dirk
 Quote

All times are EDT. The time is now 09:43 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content