Skip to content

Commit

Permalink
Merge pull request #9 from Storyboard-fm/dev/date-Iso
Browse files Browse the repository at this point in the history
create an ISO string from `delivery.date`
  • Loading branch information
agrathwohl authored Dec 13, 2021
2 parents 2446e93 + 3856818 commit bf90f07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions delivery.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class Delivery extends Pool {
this.id = opts.id || uuid()

this.date = Date.now()
this.dateIso = new Date(this.date).toISOString()
}

/**
Expand Down

0 comments on commit bf90f07

Please sign in to comment.