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
parent 7540cbb845
commit bb2fc14865

View file

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