Hey,
It’s a little late here (France) and, has i’m getting tired, I will answer more acurately tomorrow but, a few words :
Quote from: tjalve at Aug 10, 2007, 08:01 PM
However the functionality seems a bit buggish and random:
Please take a closer look at the documentation, especially before you change things. As i originally use the pub and unpub dates, it’s perfectly normal that, if you remove TV’s, pub/unpub dates should be used. At first, the pub_date was considered by CALx as the start of event, and the unpub date as the end, so you
have to specify an unpub date. It will not mean that the event is removed from the calendar, it will not disappear.
As indicated at the end of the documentation
all the events are shown by CALx.
@tjalve : First of all, leave the default format for the dates of the TV’s. On my MODx version :
%A %d, %B %Y
.
Then, about this :
Quote from: tjalveSTR_TO_DATE(`mydb`.modx_site_tmplvar_contentvalues.value, ’%d-%m-%Y’
, MySQL formats dates according to my pattern, that is to say
’%d-%m-%Y’
.
Please make sure that you understand a fragment of code before changing it.
As for your problem, that may be caused by the server itself or a different version of MySQL. I’m not sure about this but some default feature may be set differently.