وەسف
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.
