We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 44165
    • 20 Posts
    I just noticed that in the event detail view, the start and end times are showing the current date and time rather than the date and time of the event. I had a look at the demo, http://charlesmx.com/mxcalendar-demo.html, and it is behaving the same way. Had a look at the tplDetail chunk, and the placeholders look good : [[+startdate_fstamp:date=`%b %e %l:%M %p`]] - [[+enddate_fstamp:date=`[[+durDay:notempty=`%b %e `]] %l:%M %p`]]
    So, anyone have any ideas as to why this might be happening?
    Thanks!
      • 36426
      • 197 Posts
      Quote from: chenrupo at Sep 05, 2013, 11:35 PM
      I just noticed that in the event detail view, the start and end times are showing the current date and time rather than the date and time of the event. I had a look at the demo, http://charlesmx.com/mxcalendar-demo.html, and it is behaving the same way. Had a look at the tplDetail chunk, and the placeholders look good : [[+startdate_fstamp:date=`%b %e %l:%M %p`]] - [[+enddate_fstamp:date=`[[+durDay:notempty=`%b %e `]] %l:%M %p`]]
      So, anyone have any ideas as to why this might be happening?
      Thanks!

      Hi I have the same issue, has anyone found a fix yet or any hacks we can do to temporarily solve this?

      Thanks for any help at all.
        Yorkshire UK based hosting provider: https://www.simulant.uk
        • 36426
        • 197 Posts
        This problem is also now posted in the mxCalendar support forum here:

        http://forums.modx.com/thread/87483/event-details---wrong-time-shows-current-time#dis-post-481889
          Yorkshire UK based hosting provider: https://www.simulant.uk
          • 44165
          • 20 Posts
          I came up with a solution that seems to be working fine. In core>components>mxcalendars>elements>chunks>detail.chunk.tpl, I changed
          [[+startdate_fstamp:date=`%b %e %l:%M %p`]] - [[+enddate_fstamp:date=`[[+durDay:notempty=`%b %e `]] %l:%M %p`]]
          

          to
          [[+startdate:date=`%l:%M %p`]] - [[+enddate:date=`[[+durDay:notempty=`%b %e `]] %l:%M %p`]]

          I noticed that the time was correct in the list view, so I copied those time calls to a new detail tpl, and added it to the mxcalendar call. Hope this helps!