Hi, I can’t get posts to sort by the time field regardless of format used. I checked the values being saved to the DB, by enabling custom fields for the post type and verifying the value stored and they appear to be correct UNIX timestamps.
What I’m experiencing is that the posts sort by numerical value (e.g. 12:00 PM comes after 6:00 PM) and despite trying even using a ‘meta_query’ alongside the typical ‘orderby’ with ‘meta_key’ and ‘meta_value_num’, I can’t seem to get the posts to sort correctly. Not sure what I’m doing wrong. Here’s an example of the query I’m running: