https://github.com/wesleyvicthor/marsoldate
Coordinate Mars Time and Mars Sol Date for the given UTC
https://github.com/wesleyvicthor/marsoldate
datetime go mars msd mtc utc
Last synced: 2 months ago
JSON representation
Coordinate Mars Time and Mars Sol Date for the given UTC
- Host: GitHub
- URL: https://github.com/wesleyvicthor/marsoldate
- Owner: wesleyvicthor
- Created: 2020-01-21T18:24:38.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-19T17:45:23.000Z (about 5 years ago)
- Last Synced: 2023-07-19T09:51:39.995Z (almost 2 years ago)
- Topics: datetime, go, mars, msd, mtc, utc
- Language: Go
- Homepage:
- Size: 3.24 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Earth DateTime to Mars Time
=====================This project outputs a Coordinated Mars Time and Mars Sol Date for the given UTC
install
```bash
~$ go get -u github.com/wesleyvicthor/marsoldate
```
to execute the service run
```
~$ marsmission 2019-12-27T15:22:22Z
```it expects a datetime [RFC3339](https://tools.ietf.org/html/rfc3339) format in order to compute a valid response.
for tests execution
```
~$ go test
```The algorithm has been ported from [James Tauber](http://jtauber.github.io/mars-clock/) and partially validated against mars24 from nasa.