diff --git a/blogthon.cgi b/blogthon.cgi index 8152472..2fcb619 100755 --- a/blogthon.cgi +++ b/blogthon.cgi @@ -161,8 +161,14 @@ if feed_display == "atom": # Atom need a 2byte string month = str(date[1]) day = str(date[2]) + hour = str(date[3]) + min = str(date[4]) + sec = str(date[5]) if len(str(date[1])) == 1: month = '0' + str(date[1]) if len(str(date[2])) == 1: day = '0' + str(date[2]) + if len(str(date[3])) == 1: hour = '0' + str(date[3]) + if len(str(date[4])) == 1: min = '0' + str(date[4]) + if len(str(date[5])) == 1: sec = '0' + str(date[5]) document_header("atom") print '' @@ -171,13 +177,13 @@ if feed_display == "atom": print ' ' print '