View Issue Details

IDProjectCategoryView StatusLast Update
0008767mantisbtapi soappublic2008-01-19 04:24
Reporterplanser Assigned Toplanser  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.1.0 
Target Version1.1.1Fixed in Version1.1.1 
Summary0008767: incorrect date and time handling in mc_project_version_add and mc_project_version_update
Description

The handling of date & time is not correct in mc_project_version_add and mc_project_version_update.

core/version_api.php#version_update() uses core/database_api.php#db_timestamp() which expects date strings in the form Y-m-d H:i:s (e.g. 1997-10-04 22:23:00).

Additional Information

The SOAP type 'dateTime' is a string in ISO 8601 format: CCYY-MM-DDThh:mm:ss

This representation may be immediately followed by a "Z" to indicate Coordinated Universal Time (UTC) or, to indicate the time zone, i.e. the difference between the local time and Coordinated Universal Time, immediately followed by a sign, + or -, followed by the difference from UTC represented as hh:mm.

Examples:
2008-01-18T13:00:00Z (UTC)
2008-01-18T13:00:00-08:00 (America/Los_Angeles)

TagsNo tags attached.

Relationships

related to 0008768 closedvboctor webservice call which returns timezone information 

Activities

planser

planser

2008-01-18 04:06

reporter   ~0016711

Fixed in Mantis 1.1.1 using svn: 4904