Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
A
accord
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 39
    • Issues 39
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Create a new issue
  • Jobs
  • Issue Boards
Collapse sidebar
  • Accord
  • accord
  • Issues
  • #53

Closed
Open
Created Oct 06, 2010 by Bruno Borges@bruno.borgesGuest

CommandExchangeBufferBuilder incorrectly parses time

As stated by Patrick:

"When you receive a message before 10AM, 9:45:00:0000 would be written as 0945000000 in incoming messages. However in CommandExchangeBufferBuilder, line 96, as time is a numeric format, the code does : text = Integer.valueOf(text.trim()).toString() which outputs : 945000000 (without the first 0)

Later on, in the parseDateTime() method of OdetteFtpVer20Handler, the string is parsed into hour, minute, second and millis. But as the string has no 9 characters instead of 10, the code fails."

Assignee
Assign to
oftp-1.2.0.RC1
Milestone
oftp-1.2.0.RC1
Assign milestone
Time tracking
None
Due date
None