Update user.py

M in date format is minutes. m is for months.
pull/18777/head
macbeth76 10 years ago committed by Matt Clay
parent 7b4107a169
commit fce97365a4

@ -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…
Cancel
Save