5.5/5.7 xlate difference

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf 5.5/5.7 xlate difference

  • Creator
    Topic
  • #52011
    David Barr
    Participant

      I’m seeing a difference in how xlates are working between 5.5 and 5.7.  I’ve got an xlate that is copying data from one field to the same field in the same variant.  The data type for the first component of the field is timestamp.  The input data is an 8 digit date (YYYYMMDD).  On 5.5, the xlate is adding 000000.0000-0700 to the end of the field.  On 5.7, the xlate is not adding the timestamp. It is copied over as an 8 digit date.

      Can someone explain this difference to me?

    Viewing 0 reply threads
    • Author
      Replies
      • #72692
        Jim Kosloskey
        Participant

          Dave,

          Pre Cloverleaf 5.6 the default was to add precision to datetime stamp fields.

          Beginning with Cloverleaf 5.6 the default is to not add precision (most folks used DATECOPYOPT in the Xlate to turn off precision anyway).

          You can reset the default if you like in the Client Options (Xlate Config – Default timestamp precision) or you can use DATECOPYOPT in each translate that you want precision on.

          If the majority of the time you use precision, then set the Client Option otherwise change the affected Xlates by adding DATECOPYOPT at the beginning of the affected Xlate.

          email: jim.kosloskey@jim-kosloskey.com 30+ years Cloverleaf, 61 years IT – old fart.

      Viewing 0 reply threads
      • The forum ‘Cloverleaf’ is closed to new topics and replies.