Commit f33011aa authored by Aurélio A. Heckert's avatar Aurélio A. Heckert

Support crazy dates VI

parent 8d4ecc20
......@@ -91,7 +91,7 @@ if (grep -q 'id="data"' $slug.ORIG.html); then
pub_time=12:00
else
eval $(grep 'id="data"' $slug.ORIG.html |
sed -r 's#.*<span id="data">Atualizado em ([0-9]+)( [ae] [0-9]+|[0-9,e ]*)? DE ([a-z]+)( DE ([0-9]+))?( ás ([0-9:]+))?</span>.*#\
sed -r 's#.*<span id="data">Atualizado em ([0-9]+)( [ae] [0-9]+|[0-9,e ]*)? DE ([a-z]+)( DE ([0-9]+))?( ás ([0-9:]+))?.*#\
pub_day=\1;\
pub_month=\3;\
pub_year=\5;\
......
Markdown is supported
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