Project

General

Profile

Task #707

Story #957: CN Service layer should be refactored for 0.6 release

Date format in serialized SystemMetadata is incorrect

Added by Chad Berkley over 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
High
Assignee:
Robert Waltz
Category:
d1_cn_service
Target version:
Start date:
Due date:
% Done:

100%

Milestone:
CCI-0.5
Product Version:
*
Story Points:
Sprint:

Description

When serialized, dates in the SystemMetadata are formatted like this:

2010-07-07T20:49:36.287Z

The DateTime spec shows that the 'Z' should in fact be the standard time zone specifier (for instance, -0700 for pacific daylight time). So the date should look like this:

2010-07-07T20:49:36.287-0700

The correct SimpleDateFormatter string for this is:
"yyyy-MM-dd'T'hh:mm:ssZ"

I think there is just a typo with the 'Z' in single quotes. I'm not sure where this code is or I would fix it. Robert, could you please change this?

History

#1 Updated by Robert Waltz over 13 years ago

  • Parent task set to #957
  • Milestone set to CCI-0.6

#2 Updated by Dave Vieglais over 13 years ago

  • Tracker changed from Bug to Task

#3 Updated by Robert Waltz over 13 years ago

  • Milestone changed from CCI-0.6 to CCI-0.5

#4 Updated by Robert Waltz about 13 years ago

  • Status changed from New to Closed

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)