From fce97365a4d2a2482d0adc44aa01c307a104bc97 Mon Sep 17 00:00:00 2001 From: macbeth76 Date: Thu, 7 May 2015 16:55:28 -0400 Subject: [PATCH] Update user.py M in date format is minutes. m is for months. --- lib/ansible/modules/system/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/system/user.py b/lib/ansible/modules/system/user.py index b512a7b1604..dfeb6e47eba 100755 --- a/lib/ansible/modules/system/user.py +++ b/lib/ansible/modules/system/user.py @@ -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)