{"id":241273,"date":"2025-07-26T16:46:22","date_gmt":"2025-07-26T16:46:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/mars-sol-date\/"},"modified":"2025-07-26T16:45:12","modified_gmt":"2025-07-26T16:45:12","slug":"mars-sol-date","status":"publish","type":"plugin","link":"https:\/\/fr-ca.wordpress.org\/plugins\/mars-sol-date\/","author":7879583,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.1.0","stable_tag":"0.1.0","tested":"6.9.4","requires":"5.0","requires_php":"7.2","requires_plugins":null,"header_name":"Mars Sol Date","header_author":"Brandon Kraft","header_description":"A dynamic WordPress block to display the post's publication date in Mars sol units, with Sol 1 as the timestamp of the first post on the site.","assets_banners_color":"161f3b","last_updated":"2025-07-26 16:45:12","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":311,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.1.0":{"tag":"0.1.0","author":"kraftbj","date":"2025-07-26 16:45:12"}},"upgrade_notice":{"0.1.0":"<p>Initial release of the Mars Sol Date block plugin.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3439078,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3439078,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":3439078,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3439078,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3439078,"resolution":"772x250","location":"assets","locale":""},"banner.svg":{"filename":"banner.svg","revision":3439078,"resolution":false,"location":"assets","locale":false}},"assets_blueprints":{},"all_blocks":{"mars-sol-date\/date":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"mars-sol-date\/date","version":"0.1.0","title":"Mars Sol Date","category":"widgets","icon":"clock","description":"A dynamic block that displays the post date as a Martian sol number, starting from the oldest post. Drop-in replacement for core\/post-date, but outputs sols instead of Earth date.","example":{"viewportWidth":350},"textdomain":"mars-sol-date","attributes":{"textAlign":{"type":"string"},"format":{"type":"string"},"isLink":{"type":"boolean","default":false,"role":"content"},"displayType":{"type":"string","default":"date"},"dateSource":{"type":"string","default":"publish"},"displayRelative":{"type":"boolean","default":false},"showPrefix":{"type":"boolean","default":true},"linkTo":{"type":"string","default":"none"},"customField":{"type":"string","default":""},"solLabel":{"type":"string","default":"Sol"},"numberFormat":{"type":"string","default":"label-number"},"align":{"type":"string"}},"usesContext":["postId","postType","queryId"],"supports":{"html":false,"color":{"gradients":true,"link":true,"__experimentalDefaultControls":{"background":true,"text":true,"link":true}},"spacing":{"margin":true,"padding":true},"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontFamily":true,"__experimentalFontWeight":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalTextDecoration":true,"__experimentalLetterSpacing":true,"__experimentalDefaultControls":{"fontSize":true}},"interactivity":{"clientNavigation":true},"__experimentalBorder":{"radius":true,"color":true,"width":true,"style":true,"__experimentalDefaultControls":{"radius":true,"color":true,"width":true,"style":true}}},"editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","style":"file:.\/style-index.css","viewScript":"file:.\/view.js","render":"file:.\/render.php"}},"tagged_versions":["0.1.0"],"block_files":["\/tags\/0.1.0\/build\/index.js","\/tags\/0.1.0\/build\/index.css","\/tags\/0.1.0\/build\/style-index.css"],"assets_screenshots":[],"screenshots":{"1":"Example of a Mars Sol Date block displaying \"Sol 42\" in the content."},"jetpack_post_was_ever_published":false},"plugin_section":[172757],"plugin_tags":[1220],"plugin_category":[],"plugin_contributors":[77548],"plugin_business_model":[],"class_list":["post-241273","plugin","type-plugin","status-publish","hentry","plugin_section-block","plugin_tags-block","plugin_contributors-kraftbj","plugin_committers-coffeaweb","plugin_committers-kraftbj"],"banners":{"banner":"https:\/\/ps.w.org\/mars-sol-date\/assets\/banner-772x250.png?rev=3439078","banner_2x":"https:\/\/ps.w.org\/mars-sol-date\/assets\/banner-1544x500.png?rev=3439078","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/mars-sol-date\/assets\/icon.svg?rev=3439078","icon":"https:\/\/ps.w.org\/mars-sol-date\/assets\/icon.svg?rev=3439078","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The Mars Sol Date block lets you display the post's published date in terms of Martian sols, starting from Sol 1 at the first post on your site. \nA Martian sol is approximately 24 hours, 39 minutes, and 35 seconds long. \nPerfect for science blogs and Mars enthusiasts, the block automatically calculates and displays something like \u201cSol 51\u201d.<\/p>\n\n<p>How it works:\n- Sol 1 is the timestamp of your site's first published post.\n- Each Martian sol is 24h 39m 35s (88775 Earth seconds).\n- For each post, the block computes the sol number based on the time difference between that post and the site's first post.<\/p>\n\n<p>No configuration required \u2014 just insert the block wherever you wish to show the sol date!<\/p>\n\n<p>To report bugs, offer improvements, or review the unprocessed JS\/CSS, visit https:\/\/github.com\/kraftbj\/mars-sol-date .<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/mars-sol-date<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20is%20sol%201%20determined%3F'><h3>How is Sol 1 determined?<\/h3><\/dt>\n<dd><p>It's the date and time of the very first (oldest) published post on your site.<\/p><\/dd>\n<dt id='will%20this%20block%20update%20automatically%20for%20new%20posts%3F'><h3>Will this block update automatically for new posts?<\/h3><\/dt>\n<dd><p>Yes, the sol number is calculated dynamically for each post.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.1.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Display post publication dates in Martian sols, calculated from your site&#039;s first post using NASA&#039;s sol definition.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/241273","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=241273"}],"author":[{"embeddable":true,"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/kraftbj"}],"wp:attachment":[{"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=241273"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=241273"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=241273"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=241273"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=241273"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=241273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}