diff --git a/CHANGES.md b/CHANGES.md index 2f2732ab..5f821245 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -52,6 +52,7 @@ [develop changelog] Enable Alpha Ratio again now that the secure login page over https is fixed +Add ability to parse command line output from unix unrar version 4 and below ### 0.10.0 (2015-08-06 11:05:00 UTC) diff --git a/lib/unrar2/unix.py b/lib/unrar2/unix.py index 9e826a48..5e5c36b4 100644 --- a/lib/unrar2/unix.py +++ b/lib/unrar2/unix.py @@ -178,7 +178,7 @@ class RarFileImplementation(object): @staticmethod def rarcmd_dt(param_date=time.strftime('%Y-%m-%d'), param_time=time.strftime('%H:%M')): - for str_fmt in '%Y-%m-%d %H:%M', '%Y-%m-%d %H:%M': + for str_fmt in '%Y-%m-%d %H:%M', '%d-%m-%y %H:%M': try: return time.strptime('%s %s' % (param_date, param_time), str_fmt) except ValueError: