Uploaded image for project: 'QuickFIX/J'
  1. QuickFIX/J
  2. QFJ-961

Constructors for UtcDate/Time fields should return date in UTC

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.1
    • Component/s: None
    • Labels:
      None

      Description

      TransactTime (tag 60) should be in UTC. Default constructor for TransactTime() should return date in UTC. Instead, it uses default local time (LocalDateTime.now()):

      public UtcTimeStampField(int field)

      { super(field, LocalDateTime.now()); }

      As a result, the constructed object is not in UTC.

        Attachments

          Activity

            People

            • Assignee:
              chrjohn Christoph John
              Reporter:
              plyushka74 Julia Ilyutovich
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: