[tarent-useful-scripts SCM] {mirkarte} branch master updated. 2b7f50f125fdec65df2583fc3a6bcd35774cc601

mirabilos at evolvis.org mirabilos at evolvis.org
Fri Oct 31 22:14:35 CET 2014 • <20141031211435.834204A255D@evolvis.org>


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MirKarte source code repository".

The branch, master has been updated
       via  2b7f50f125fdec65df2583fc3a6bcd35774cc601 (commit)
      from  aeaf2fb4a723ad1677013b839eb4a37fb7804f7a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2b7f50f125fdec65df2583fc3a6bcd35774cc601
Author: Thorsten Glaser <tg at mirbsd.org>
Date:   Fri Oct 31 21:14:44 2014 +0000

    band-aid: geohashing for übermorgen

-----------------------------------------------------------------------

Summary of changes:
 README                             |    1 +
 geohashing.cgi => ghybermorgen.cgi |    6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)
 copy geohashing.cgi => ghybermorgen.cgi (99%)

diff --git a/README b/README
index ab0c2c5..4b97f5f 100644
--- a/README
+++ b/README
@@ -27,6 +27,7 @@ Variants:
   largely untested, markers cannot be removed, scrap
 – geohashing.cgi (mirkarte.js): displays xkcd Geo Hashing waypoints
 – ghtomorrow.cgi (mirkarte.js): same, but for the next day
+– ghybermorgen.cgi (mirkarte.js): same, but for the day after the next
 – geovexilla.cgi (mirkarte.js): displays GeoVexilla.gpsgames.org flags
 - geodashing.cgi (mirkarte.js): displays GeoDashing.gpsgames.org dashpoints
 
diff --git a/geohashing.cgi b/ghybermorgen.cgi
similarity index 99%
copy from geohashing.cgi
copy to ghybermorgen.cgi
index 649e608..b51e862 100755
--- a/geohashing.cgi
+++ b/ghybermorgen.cgi
@@ -183,7 +183,7 @@ typeset -i10 -Z2 dM dD
 # for calculation, and always apply the 30W rule
 set -A d -- $(TZ=Europe/Berlin date +'%Y %m %d')
 set -A t -- $(mjd_implode 0 0 0 ${d[2]} $((d[1] - 1)) $((d[0] - 1900)))
-set -A t -- $(mjd_explode $((t[0] - 1)) 0)
+set -A t -- $(mjd_explode $((t[0] + 2 - 1)) 0)
 (( dY = t[tm_year] + 1900 ))
 (( dM = t[tm_mon] + 1 ))
 (( dD = t[tm_mday] ))
@@ -209,13 +209,13 @@ Content-type: text/html; charset=utf-8
  <title>MirKarte for xkcd Geo Hashing in Central Europe (Beta)</title>
 </head><body>
 <h1>Error!</h1>
-<p>No data yet for today!</p>
+<p>No data yet for übermorgen!</p>
 </body></html>
 EOF
 	exit 0
 fi
 set -A t -- $(mjd_implode 0 0 0 ${d[2]} $((d[1] - 1)) $((d[0] - 1900)))
-set -A t -- $(mjd_explode $((t[0])) 0)
+set -A t -- $(mjd_explode $((t[0] + 2)) 0)
 (( dY = t[tm_year] + 1900 ))
 (( dM = t[tm_mon] + 1 ))
 (( dD = t[tm_mday] ))


hooks/post-receive
-- 
MirKarte source code repository
(Evolvis project useful-scripts repository mirkarte)


More information about the useful-scripts-commits mailing list