We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2901
    • 277 Posts
    Hi all

    I created a tv eventDate by the type of Date, Object Dateformater and the date format like %d.%m %Y um %H.%M Uhr. My call is
    [[Ditto? &parents=`14` &summarize=`12` &tpl=`events` &paginate=`1` &paginateAlwaysShowLinks=`1` &tagData=`documentTags` &dateFormat=`%c` &phx=`1` &language=`german` &sortBy=`eventDate` &dateSource=`eventDate` sortDir=`ASC`]]


    I have two problems I was to format the date as %b, but I allways got english formating. 2. Some the sorting is real strange. It sorts by day desc, but not by the month, so I get a sort by day only it ignores the month completley. lets say I have march, april January 20th as an event date, it sorts them all togehter ignoring the month.

    Please help, this site is to go only by tomorrow.

    Thanks in advance

      • 2901
      • 277 Posts
      Hi All
      ok I managed to get the sorting right by changing the Widget to Unixtime. But the formating is’nt working at all. it reports unix time only. My call right now looks like this

      [[Ditto? &parents=`14` &summarize=`9` &tpl=`events` &paginate=`1` &paginateAlwaysShowLinks=`1` &tagData=`documentTags` &phx=`1` &language=`german` &sortBy=`eventDate` &dateSource=`eventDate` &dateFormat=`%D` &sortDir=`ASC`]]

      Is it possible to have ditto display the date as follows?

      12. Day, Year, H:M or due I have to add another tv?

      thanks for your help in advance.
        • 2901
        • 277 Posts
        I managed to sort out the problem with phx.

        [+eventDate:date=`%d.%m.%Y um %H.%M Uhr`+]

        This is the placeholder in case anyone runs into the same problem.