Skip to content

Commit

Permalink
Switch DOMTimeStamp to EpochTimeStamp (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscaceres authored Oct 12, 2021
1 parent 99a845f commit 2a116d7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</script>
</head>
<body data-cite=
"secure-contexts permissions-policy permissions page-visibility-2">
"secure-contexts permissions-policy permissions page-visibility-2 hr-time">
<section id="abstract">
<p>
The Geolocation API provides access to geographical location
Expand Down Expand Up @@ -674,8 +674,7 @@ <h2>
position</dfn>.
<ol>
<li>Let |acquisitionTime:DOMTimeStamp| be a new
{{DOMTimeStamp}} that represents now in milliseconds, using
01 January, 1970 UTC as the epoch.
{{EpochTimeStamp}} that represents now.
</li>
<li>If |options|.{{PositionOptions/maximumAge}} is greater
than 0, and |cachedPosition| is not null:
Expand Down Expand Up @@ -926,7 +925,7 @@ <h2>
[Exposed=Window, SecureContext]
interface GeolocationPosition {
readonly attribute GeolocationCoordinates coords;
readonly attribute DOMTimeStamp timestamp;
readonly attribute EpochTimeStamp timestamp;
};
</pre>
<section>
Expand Down

0 comments on commit 2a116d7

Please sign in to comment.