Skip to content
Snippets Groups Projects
Commit 3f2065ad authored by pruizf's avatar pruizf
Browse files

[pub] footer update more

parent 12da92d6
Branches
No related merge requests found
Pipeline #61121 passed with stages
in 7 seconds
...@@ -38,6 +38,6 @@ cp -r site/{img,styles,docs,read} public/. ...@@ -38,6 +38,6 @@ cp -r site/{img,styles,docs,read} public/.
realdate=$(grep -P 'Last updated on ' site/en.html | grep -Po '[0-9: -]+ UTC') realdate=$(grep -P 'Last updated on ' site/en.html | grep -Po '[0-9: -]+ UTC')
echo "$realdate\n" >> site/log.txt echo "$realdate\n" >> site/log.txt
#2021-09-27 09:37:07 UTC #2021-09-27 09:37:07 UTC
perl -p -i -e "s/Last updated on /Last updated on $(date + '%Y-%m-%d %k:%M:%S')/" site/read/en.html perl -p -i -e "s/Last updated on /Last updated on $(date +'%Y-%m-%d %k:%M:%S')/" site/read/en.html
perl -p -i -e "s/Last updated on /Mis à jour le $(date + '%Y-%m-%d %k:%M:%S')/" site/read/index.html perl -p -i -e "s/Last updated on /Mis à jour le $(date +'%Y-%m-%d %k:%M:%S')/" site/read/index.html
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment