mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
Update user.py
M in date format is minutes. m is for months.
This commit is contained in:
parent
7b4107a169
commit
fce97365a4
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,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…
Add table
Add a link
Reference in a new issue