occupyatlanta/OccupyAtlanta-Wordpress-Buddypress — Issue #8: Events "Happening Now" 
Author: norbertjef
Created: 2011-11-30 00:06:00+00:00
State: open

This is what I have so far as another solution to the problem that is
currently working on the test site. I can go ahead and get it going on the
main site but maybe after midnight tonight to see how that 4 hour
difference is going to work. What I found is that the date time conversion
functions used in the plugin are mostly WP core functions. The plugin
routine used for the date format '#M #j' produces errors in the date
comparisons for what we are trying to do with sorting dates and displaying
'TODAY'. The format and routine that is working is: '#_{M j}' which is the
same thing simply another way of describing the format. This format goes
through a routine that still uses WP functions to convert dates but I can
do what we need to do separately without interacting with the conversion.
When this goes live all the formats should be in braces using #_{''} and
refrain from using the other format.