From 219f23de33b512ed999f027e9e2d7b483edb80d8 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 26 Sep 2015 11:55:29 -0400 Subject: [PATCH] ISO8601: Default ctor implies 'now' --- src/ISO8601.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ISO8601.cpp b/src/ISO8601.cpp index d5d9a6dbf..9ce967adb 100644 --- a/src/ISO8601.cpp +++ b/src/ISO8601.cpp @@ -109,6 +109,7 @@ static struct ISO8601d::ISO8601d () { clear (); + _value = time (NULL); } ////////////////////////////////////////////////////////////////////////////////