Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-9132

Date is showing in the wrong format in embedded forms

    XMLWordPrintable

Details

    Description

      What are the steps to reproduce your problem?
      1- Create an embedded form with a cam-variable of type date and a date picker commponent: datepicker-popup="yyyy-MM-dd'T'HH:mm:ss":

      eg:-

            <input type="text" 
                   cam-variable-name="from"
                   cam-variable-type="Date"
                   required
                   datepicker-popup="yyyy-MM-dd'T'HH:mm:ss"
                   is-open="dateFieldOpened"
                   class="form-control" />
      

      2- Start the process and open the task from the list of tasks

      What is the problem?
      The date field contains the time zone and is in the format: '2018-06-27T00:00:00.000+0200'

      What would be the expected behavior:
      The field should not contain the timezone information and should be in this format:
      2018-06-27T00:00:00.000

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              michael.schoettes Michael Schoettes
              seif.ghezala Seif
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce