On a client site (running version 6.1.7 of scheduler) whenever a node is submitted with a scheduled publish date having "12" in the hour place, the resulting saved time ends has the incorrect "meridiem". For example, if we enter "02-27-2011 12:49 PM", then the saved time ends up being "02-27-2011 12:49 AM" (note the AM instead of PM). The inverse happens as well. If we entered "02-27-2011 12:49 AM", it would end up saving as "02-27-2011 12:49 PM". This only occurs when the hour place is "12". I briefly looked over the code and didn't see anything that stood out. Has anyone experienced this problem with scheduler module previously? Thanks.

Comments

eric-alexander schaefer’s picture

I think I know why it does that. Will be looking into it tonight...

eric-alexander schaefer’s picture

Version: 6.x-1.7 » 6.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new648 bytes

I attached a patch which should solve the problem.

eric-alexander schaefer’s picture

Anonymous’s picture

I will test it tonight to see if it fixes the issue. Thanks.

Anonymous’s picture

This patch did the trick. Worked for me. Thank you.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.