cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter (JIRA)" <>
Subject [jira] [Created] (CB-4596) Documentation is not consistent for timestamp types
Date Thu, 15 Aug 2013 23:27:56 GMT
Peter created CB-4596:

             Summary: Documentation is not consistent for timestamp types
                 Key: CB-4596
             Project: Apache Cordova
          Issue Type: Improvement
          Components: Docs
    Affects Versions: 2.9.0
            Reporter: Peter
            Assignee: Michael Brooks
            Priority: Minor

Compare Codova documentation for these timestamps:
* Accelerometer > *Acceleration.timestamp* -  _timestamp: Creation timestamp in milliseconds.
* Compass > *CompassHeading.timestamp* - _timestamp: The time at which this heading was
determined. (milliseconds)_ 
* Geolocation > *Position.timestamp* - _timestamp: Creation timestamp for coords. (Date)_

It is confusing that documentation describes all these "timestamps" to have different types.

On closer inspection, for some reason the Position.timestamp really is (inconsistent with
the others) returned as a Date object.

But at least Acceleration/Compass ones seem to have same units so perhaps the documentation
for those ones ought to consistently say they are DOMTimeStamp.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message