We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10378
    • 375 Posts
    How can I change the format of the date from the + createdon placeholder?
    Can't find information in Quip documentation.

    I have already set the language, date and time values in MODx system settings (butr I think it's only for Manager)!
    The locale setting is de_DE

    The European date/time format should be: d.m.Y H:m

    Currently I get:

    Dec 13, 2011 at 10:24 PM

    But I'd like to have:

    13.12.2011 22:24

    Thanks in advance,
    Martin
      Freelancer @bitego http://www.bitego.com
      ---
      GoodNews - one of the most advanced and integrated Group Mailer premium add-ons for MODX Revolution!
      More infos here: http://www.bitego.com/extras/goodnews/
      • 37997
      • 5 Posts
      You can use the dateFormat property on your quip call e.g.

      [[!quip &dateFormat=`%m.%d.%Y %H:%M`]]
      should get what you want.
        • 10378
        • 375 Posts
        Thank you this did it!

        For correct European format it should be:

        [[!quip &dateFormat=`%d.%m.%Y %H:%M`]]


        Day.Month.Year Hour:Minute

        Don't know why I didn't see this property... Maybe I shouldn't work till midnight ... smiley [ed. note: gadgetto last edited this post 12 years, 4 months ago.]
          Freelancer @bitego http://www.bitego.com
          ---
          GoodNews - one of the most advanced and integrated Group Mailer premium add-ons for MODX Revolution!
          More infos here: http://www.bitego.com/extras/goodnews/