--- repodiff.orig 2008-12-19 11:59:46.000000000 +0100 +++ repodiff.date 2008-12-19 12:31:41.000000000 +0100 @@ -7,7 +7,7 @@ # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Library General Public License for more details. +# GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software @@ -17,7 +17,7 @@ import yum import rpmUtils import sys -import time +import time, datetime import os import locale from yum.misc import to_unicode @@ -206,7 +206,7 @@ clogdelta = [] for (t, author, content) in pkg.changelog: if t > oldtime: - msg += "* %s %s\n%s\n\n" % (time.ctime(int(t)), + msg += "* %s %s\n%s\n\n" % (datetime.date.fromtimestamp(int(t)).strftime("%a %b %d %Y"), to_unicode(author), to_unicode(content)) if opts.size: sizechange = int(pkg.size) - int(oldpkg.size)