Forum
Event App 1.9 Calendar View Order by DateTime
Running into a time sort issue on perch_events_calendar view where events aren't sorted by time correctly. They are sorted by date properly.
Could this be a server issue? (I seem to recall in the old forums something about the default time on the server may cause a sorting issue.)
Can we use sort and sort order with perch_events_calendar like we can with perch_events_custom?
I tried but that didn't seem to make a change.
We're running Perch_Events 1.9 on Perch 2.7.3.
Which locale is your server set to?
When I check my server clock at /etc/sysconfig/clock
I get back
ZONE="America/Los_Angeles"
In /perch/config/config.php I have listed
define('PERCH_TZ', 'America/Los_Angeles');
Should it make any difference if the hardware clock on the server is on UTC time?
The clock makes no difference.
Which locale is your server set to?
I also have this problem, events in the calendar are showing in the wrong order.
setlocale returns 'C', is that an issue?
When I run locale on the server, I get back --
Ok, that looks good. I don't have a quick fix to suggest, but I'm working on it.