summaryrefslogtreecommitdiffstats
path: root/_includes
diff options
context:
space:
mode:
authordequis2014-08-07 05:49:16 -0300
committerdequis2014-08-07 06:37:01 -0300
commit1cdf8c26f0de0bfa2115722f8ba82b733a71da99 (patch)
tree62732e18719662a840a9af6f02ab07068ce29427 /_includes
parent0345d705714e8a545994224047510ee5e26c6543 (diff)
downloadscripts.irssi.org-1cdf8c26f0de0bfa2115722f8ba82b733a71da99.tar.bz2
Change modified timestamps to match the old "changed" value
Started doing it manually, then realized it would take forever. Threw together an extremely shitty python script using dateutil.parser and made it output sed code, because yaml libraries don't know the concept of in-place editing, they just rewrite the damn thing. The script itself is too awful and non-reusable to publish, the only part worth mentioning is the sed output, a bunch of lines like this: /^ filename: "xmms.pl"/ {n; s/2008-05-17 17:39:09/2004-01-15 00:00:00/} The "n" command grabs the next line. That was neat. Scripts with modified date after 2011 weren't touched - most of the incorrect dates are 2008 or 2009. I reviewed the dateutil parsed dates - that library is really good.
Diffstat (limited to '_includes')
0 files changed, 0 insertions, 0 deletions