Skip to content

Commit

Permalink
Add URL to W3C
Browse files Browse the repository at this point in the history
  • Loading branch information
JensSpanier committed Aug 9, 2023
1 parent 7fc2638 commit c806153
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ function dateToW3CString(date: Date) {
return undefined;
}

/**
* @see https://www.w3.org/TR/NOTE-datetime
*/

return date.toISOString();
}

Expand Down

0 comments on commit c806153

Please sign in to comment.