Update user.py

M in date format is minutes. m is for months.
This commit is contained in:
macbeth76 2015-05-07 16:55:28 -04:00 committed by Matt Clay
parent 7b4107a169
commit fce97365a4

View file

@ -243,7 +243,7 @@ class User(object):
platform = 'Generic'
distribution = None
SHADOWFILE = '/etc/shadow'
DATE_FORMAT = '%Y-%M-%d'
DATE_FORMAT = '%Y-%m-%d'
def __new__(cls, *args, **kwargs):
return load_platform_subclass(User, args, kwargs)