summaryrefslogtreecommitdiffhomepage
path: root/test/unit/applications/proto.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/applications/proto.py')
-rw-r--r--test/unit/applications/proto.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/applications/proto.py b/test/unit/applications/proto.py
index cd8672ba..6ba7b9b8 100644
--- a/test/unit/applications/proto.py
+++ b/test/unit/applications/proto.py
@@ -13,7 +13,7 @@ class TestApplicationProto(TestControl):
def sec_epoch(self):
return time.mktime(time.gmtime())
- def date_to_sec_epoch(self, date, template='%a, %d %b %Y %H:%M:%S %Z'):
+ def date_to_sec_epoch(self, date, template='%a, %d %b %Y %X %Z'):
return time.mktime(time.strptime(date, template))
def findall(self, pattern, name='unit.log'):