{"id":16348039,"url":"https://github.com/ai/darian","last_synced_at":"2025-09-29T00:33:04.151Z","repository":{"id":3304255,"uuid":"4346193","full_name":"ai/darian","owner":"ai","description":"Darian Mars calendar converter","archived":false,"fork":false,"pushed_at":"2014-12-18T12:49:32.000Z","size":185,"stargazers_count":25,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-24T17:54:33.802Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"GNOME/vala","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ai.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-05-16T11:21:56.000Z","updated_at":"2023-07-19T14:08:35.000Z","dependencies_parsed_at":"2022-08-20T12:41:07.427Z","dependency_job_id":null,"html_url":"https://github.com/ai/darian","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ai%2Fdarian","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ai%2Fdarian/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ai%2Fdarian/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ai%2Fdarian/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ai","download_url":"https://codeload.github.com/ai/darian/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234575245,"owners_count":18854925,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T00:48:24.263Z","updated_at":"2025-09-29T00:32:58.861Z","avatar_url":"https://github.com/ai.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Darian Mars Calendar Converter [![Build Status](https://travis-ci.org/ai/darian.svg)](https://travis-ci.org/ai/darian)\n\nThis is Ruby library to convert Earth time to Mars time in Darian calendar.\n\nThe [Darian calendar] is a proposed system of time-keeping on the planet Mars.\nIt was created by aerospace engineer and political scientist Thomas Gangale\nin 1985. This library use 2002 version of calendar with Telescopic Epoch\n(1609 instead of 1975 year in original calendar propose).\n\nBased on [JS converter] by Thomas Gangale.\n\n\u003ca href=\"https://evilmartians.com/?utm_source=darian\"\u003e\n\u003cimg src=\"https://evilmartians.com/badges/sponsored-by-evil-martians.svg\" alt=\"Sponsored by Evil Martians\" width=\"236\" height=\"54\"\u003e\n\u003c/a\u003e\n\n[Darian calendar]: http://en.wikipedia.org/wiki/Darian_calendar\n[JS converter]: http://pweb.jps.net/~tgangale/mars/converter/calendar_clock.htm\n\n## Usage\n\n```ruby\nrequire 'darian'\n\nearth_time = Time.now\nmars_time  = Darian.from_earth(earth_time)\n\nmars_time.to_s #=\u003e \"214-09-17 15:07:17\"\n\nmars_time.year  #=\u003e 214\nmars_time.month #=\u003e 9\nmars_time.sol   #=\u003e 17\nmars_time.day   #=\u003e 17\n\nmars_time.month_name    #=\u003e \"Aries\"\nmars_time.week_sol_name #=\u003e \"Sol Martis\"\n\nearth_date = Date.today\nmars_date  = Darian.from_earth(earth_date)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fai%2Fdarian","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fai%2Fdarian","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fai%2Fdarian/lists"}