summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-11-19 20:02:10 +0530
committerAndinus <andinus@nand.sh>2020-11-19 20:02:10 +0530
commitd3e1f09138c64b0a4e52bbc5575b5047c874980e (patch)
treea07a093b5202a8cdb00a24f63674aff732b4aed7
parent9b679877003023c5d6ef76966e276805a54cfa48 (diff)
downloaddraco-d3e1f09138c64b0a4e52bbc5575b5047c874980e.tar.gz
Include the archive date in properties
-rwxr-xr-xdraco.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/draco.pl b/draco.pl
index 2cecaf6..37e4654 100755
--- a/draco.pl
+++ b/draco.pl
@@ -63,6 +63,8 @@ foreach my $detail (qw( subreddit created_utc author permalink
     print ":${detail}: =$post->{$detail}=\n"
         if scalar $post->{$detail};
 }
+# Include the archive date in properties.
+print ":ARCHIVE_DATE: $date\n";
 print ":END:\n";
 
 # Add selftext if present.