Date-time precision issue with Cloverleaf 5.7 rev2

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Date-time precision issue with Cloverleaf 5.7 rev2

  • Creator
    Topic
  • #52156
    Alice Kazin
    Participant

      I have the DOB coming in with precision with GMT -0400.   If I do a “Copy” in 5.7 xlate, the DOB is getting converted to GMT -0500 (EST).   With Pathcopy of PID segment or Bulkcopy, the DOB remains as GMT -0400.  

      Example PID.#10 (input):  19540823000000-0400

                  PID.#10 (output): 19540822230000-0500

      Since the receiving system only expects 8 characters, I resolved the issue by changing  PID.#10 to ST format with 8 characters.   Without the fix, the DOB was changing from 08/23/1954 to 08/22/1954.  

      Is this the correct behavior?

      I have other date-time fields containing precision.  Do I need to fix them too?

    Viewing 0 reply threads
    • Author
      Replies
      • #73248
        Charlie Bursell
        Participant

          Alice:

          Check your TZ environment variable.  Cloverleaf uses the timezone from the OS

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