Апісанне
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 .
Блокі
Гэты плагін прадастаўляе 1 блок.
- 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.
Ўсталёўка
- 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.
Часта задаваныя пытанні
-
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.
Водгукі
На гэты плагін няма водгукаў.
Удзельнікі і распрацоўшчыкі
“Mars Sol Date” з’яўляецца праграмным забеспячэннем з адкрытым зыходным кодам. Наступныя людзі ўнеслі свой уклад у гэты плагін.
УдзельнікіПеракласці “Mars Sol Date” на вашу мову.
Зацікаўлены ў распрацоўцы?
Праглядзіце код, праверце SVN рэпазітарый, або падпішыцеся на журнал распрацоўкі па RSS.
Журнал змяненняў
0.1.0
- Initial release.
