boblauer / dateonly

A JavaScript class that stores a date without a time.
Apache License 2.0
6 stars 4 forks source link

Added toISOString function and test. #3

Closed erikssonlarsb closed 6 years ago

erikssonlarsb commented 6 years ago

JavaScript Date objects has a function toISOString() that I replicated on the DateOnly object. The function returns the DateOnly on ISO format YYYY-MM-DD.

boblauer commented 6 years ago

Published on npm @1.2.0

erikssonlarsb commented 6 years ago

Thanks for fixing. Much appreciated!