2012-08-14 98 views
1

所以这里是问题...我创建了日历http://lanyrd.com日期相同,但由于某些原因,我的代码显示日期“从”和“到”在同一天,并其他(从Lanyrd网站)正确显示日期,我无法弄清楚为什么...有人可以帮助我吗?谷歌日历错误的日期问题从URL

Lanyrd网站生成的URL代码:

https://www.google.com/calendar/render?action=TEMPLATE&text=Test+Naziv&dates=20120815/20120817&location=Osijek&details=Ajme+meni+ovo+je+test+naziv&pli=1&sf=true&output=xml 

矿代码:

https://www.google.com/calendar/render?action=TEMPLATE&text=eZ+Publish+Basic+Concepts&dates=20121008/20121009&location=TBD,+USA&details=This+training+is+required+for+all+other+trainings+and+provides+a+perfect+entry+into+the+way+of+thinking+when+you+intend+working+with+eZ+Publish+as+a+developer,+editor+or+administrator.&pli=1&sf=true&output=xml 

回答

0

好了,检查URL的,我会说谷歌议程采取“to'最新减一。正如你可以在Lanyrd的网址中看到的:日期= 20120815/20120817

它相隔两天,但在Google议程中显示为2012-08-16。你的日期只有一个分开,所以会输入相同的日期。加一个你的最新,你的问题就解决了。

+0

似乎是这样......经过数小时的努力寻找解决方案,我太盲目了...谢谢! – Matas 2012-08-14 12:41:50