Defect #19065

API: issue details created_on timestamp not formatted as expected

Added by Ruslan Kabalin about 3 years ago. Updated about 3 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:REST API
Target version:2.6.2
Resolution:Fixed Affected version:2.6.1

Description

Hello, it seems like there is something wrong with create_on format for journal entry in the latest 2.6-stable when data it retrieved using API. The time is not in ISO 8601 for journal entry, but the time fields in the issue details are still in ISO 8601. See attached screenshots.

rm25_api_issue.png - 2.5.3 (53.4 KB) Ruslan Kabalin, 2015-02-09 16:01

rm26_api_issue.png - latest 2.6-stable branch (0c1a287696) (46.1 KB) Ruslan Kabalin, 2015-02-09 16:10


Related issues

Duplicated by Redmine - Defect #19227: Users.xml broken Closed

Associated revisions

Revision 14015
Added by Jean-Philippe Lang about 3 years ago

Fixed that timestamps may not be formatted as expected in XML responses (#19065).

History

#1 Updated by Ruslan Kabalin about 3 years ago

I think timestamp format in journal entries should match the one in issue details (should be ISO 8601).

#2 Updated by Toshi MARUYAMA about 3 years ago

  • Category set to REST API
  • Target version set to 2.6.2

#3 Updated by Jean-Philippe Lang about 3 years ago

  • Subject changed from api: issue details created_on timestamp inconsistency to API: issue details created_on timestamp not formatted as expected
  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Fixed in r14015, thanks for pointing this out.

#4 Updated by Jean-Philippe Lang about 3 years ago

  • Status changed from Resolved to Closed

#5 Updated by Toshi MARUYAMA about 3 years ago

Also available in: Atom PDF