[wp-trac] [WordPress Trac] #18694: Improved date arguments for WP_Query

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 13 08:09:38 UTC 2012


#18694: Improved date arguments for WP_Query
--------------------------+------------------------------
 Reporter:  Viper007Bond  |       Owner:  viper007bond
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by Viper007Bond):

 Replying to [comment:27 scribu]:
 > Speaking of which, it would be useful if we could treat custom fields as
 date columns. For example, there are many 'event' post type definitions,
 with two custom fields: 'start_date', 'stop_date'.

 Yeah, I guess that's possible. `WHERE HOUR( post_meta.meta_value ) = 1` or
 whatever.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18694#comment:28>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list