Update user.py
M in date format is minutes. m is for months.
This commit is contained in:
parent
7540cbb845
commit
bb2fc14865
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue