diff --git a/src/mio.py b/src/mio.py index cc2503dc13079e8bf038ef2b5be14c757c34ea25..84a2b42c1ab2745fbc4c956a0cfe054220c375f5 100755 --- a/src/mio.py +++ b/src/mio.py @@ -14,6 +14,7 @@ import re import sys from mio.exception import * from mio.log import log, MUTE, SILENT, NORMAL, VERBOSE +import locale # Fix for older python version that does not have True and False defined if not hasattr(__builtins__, "True"): @@ -120,6 +121,7 @@ class FindAndParse: print "Failed to locate: %s" % target if __name__ == '__main__': + locale.setlocale(locale.LC_TIME, 'C') optParser = argparse.ArgumentParser(usage="%(prog)s [options]") optParser.add_argument("--backup", action="store",