summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-12-28 22:36:12 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-12-28 22:36:12 +0100
commit6c5fb9d5544d9acd95cb1dfac573877fb16ec706 (patch)
tree55a499dd9de8348aae18e345eeec8c51922666b2
parent2752cca8017f1e6f80f9d0f11b07e113aafcacfe (diff)
downloadPROJ-data-6c5fb9d5544d9acd95cb1dfac573877fb16ec706.tar.gz
PROJ-data-6c5fb9d5544d9acd95cb1dfac573877fb16ec706.zip
Regenerate index.html
-rw-r--r--index.html2
-rw-r--r--regenerate_index_html.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/index.html b/index.html
index 56effe7..aec9091 100644
--- a/index.html
+++ b/index.html
@@ -405,7 +405,7 @@ map.on('singleclick', function(evt) {
<li><a href="RALS2016.tif">RALS2016.tif</a> - France - Antilles - Les Saintes - RGAF09 (EPSG:5488) to IGN 1988 LS height (EPSG:5616). Last modified: 2019-12-27</li>
<li><a href="RAMART2016.tif">RAMART2016.tif</a> - France - Antilles - Martinique - RGAF09 (EPSG:5488) to Martinique 1987 height (EPSG:5756). Last modified: 2019-12-27</li>
<li><a href="RAMG2016.tif">RAMG2016.tif</a> - France - Antilles - Marie Galante - RGAF09 (EPSG:5488) to IGN 1988 MG height (EPSG:5617). Last modified: 2019-12-27</li>
-<li><a href="RAR07_bl.tif">RAR07_bl.tif</a> - France - La Reunion - RGR92 (EPSG:4971) to Reunion 1989 height (EPSG:5758). Last modified: 2019-12-27</li>
+<li><a href="RAR07_bl.tif">RAR07_bl.tif</a> - France - La Reunion - RGR92 (EPSG:4971) to Reunion 1989 height (EPSG:5758). Last modified: 2019-12-28</li>
<li><a href="RASPM2018.tif">RASPM2018.tif</a> - France - Saint-Pierre et Miquelon - RGSPM06 (EPSG:4466) to Danger 1950 height (EPSG:5792). Last modified: 2019-12-27</li>
<li><a href="gg10_sbv2.tif">gg10_sbv2.tif</a> - France - Antilles - Saint Barthelemy - RGAF09 (EPSG:5488) to IGN 1988 SB height (EPSG:5619). Last modified: 2019-12-27</li>
<li><a href="gg10_smv2.tif">gg10_smv2.tif</a> - France - Antilles - Saint Martin - RGAF09 (EPSG:5488) to IGN 1988 SM height (EPSG:5620). Last modified: 2019-12-27</li>
diff --git a/regenerate_index_html.py b/regenerate_index_html.py
index 90ce9d0..fc994e3 100644
--- a/regenerate_index_html.py
+++ b/regenerate_index_html.py
@@ -194,6 +194,8 @@ for dirname in sorted(dirnames):
if f.startswith('README'):
last_modified = ''
else:
+ p = subprocess.run(['git','status','--porcelain',full_filename], check=True, stdout=subprocess.PIPE)
+ assert not p.stdout, (p.stdout, f)
p = subprocess.run(['git','log','-1','--pretty=format:%cd','--date=short',full_filename], check=True, stdout=subprocess.PIPE)
last_modified = '. Last modified: ' + p.stdout.decode('ascii')