Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 568 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 568 Bytes

Earth DateTime to Mars Time

This project outputs a Coordinated Mars Time and Mars Sol Date for the given UTC

install

~$ go get -u github.com/wesleyvicthor/marsoldate

to execute the service run

~$ marsmission 2019-12-27T15:22:22Z

it expects a datetime RFC3339 format in order to compute a valid response.

for tests execution

~$ go test

The algorithm has been ported from James Tauber and partially validated against mars24 from nasa.