Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-3475

Repeater header label doesn't support format informations

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 4.4.0
    • 4.4.0
    • None
    • None
    • 4.4 M5

      I would like a header label like this :

      Année {myDate:date("Y")}

      Where myDate is a datetime.
      But the format on date (and other types) is not supported. We should parse needed variables without the part after :.

      Ametys.form.ConfigurableFormPanel.Repeater = /\{([^\}\:]+)(\:[^\}]+)?\}/gi

            cedric Cédric Damioli
            bmaurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: