Description
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.
A Martian sol is approximately 24 hours, 39 minutes, and 35 seconds long.
Perfect for science blogs and Mars enthusiasts, the block automatically calculates and displays something like “Sol 51”.
How it works:
– Sol 1 is the timestamp of your site’s first published post.
– Each Martian sol is 24h 39m 35s (88775 Earth seconds).
– For each post, the block computes the sol number based on the time difference between that post and the site’s first post.
No configuration required — just insert the block wherever you wish to show the sol date!
To report bugs, offer improvements, or review the unprocessed JS/CSS, visit https://github.com/kraftbj/mars-sol-date .
Blocks
This plugin provides 1 block.
- Mars Sol Date 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.
Installation
- Upload the plugin files to the
/wp-content/plugins/mars-sol-datedirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
FAQ
-
How is Sol 1 determined?
-
It’s the date and time of the very first (oldest) published post on your site.
-
Will this block update automatically for new posts?
-
Yes, the sol number is calculated dynamically for each post.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Mars Sol Date” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Mars Sol Date” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
0.1.0
- Initial release.