summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/kolabcontainers.h2
-rw-r--r--tests/bindingstest.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/kolabcontainers.h b/src/kolabcontainers.h
index 47dc5fc..adf6d90 100644
--- a/src/kolabcontainers.h
+++ b/src/kolabcontainers.h
@@ -26,7 +26,7 @@ namespace Kolab {
class cDateTime {
public:
cDateTime();
- cDateTime(int year, int month, int day, int hour, int minute, int second, bool isUtc=true);
+ cDateTime(int year, int month, int day, int hour, int minute, int second, bool isUtc=false);
cDateTime(const std::string &timezone, int year, int month, int day, int hour, int minute, int second);
cDateTime(int year, int month, int day);
~cDateTime();
diff --git a/tests/bindingstest.cpp b/tests/bindingstest.cpp
index f530c2e..ea0d6e4 100644
--- a/tests/bindingstest.cpp
+++ b/tests/bindingstest.cpp
@@ -27,7 +27,7 @@ void BindingsTest::noteCompletness()
{
Kolab::Note note;
note.setUid("UID");
- note.setCreated(Kolab::cDateTime(2006,1,6,12,0,0)); //UTC
+ note.setCreated(Kolab::cDateTime(2006,1,6,12,0,0,true)); //UTC
note.setClassification(Kolab::ClassConfidential);
note.addCategory("Category");
note.setSummary("summary");
@@ -52,7 +52,7 @@ template <typename T>
void setIncidence(T &ev)
{
ev.setUid("UID");
- ev.setCreated(Kolab::cDateTime(2006,1,6,12,0,0)); //UTC
+ ev.setCreated(Kolab::cDateTime(2006,1,6,12,0,0,true)); //UTC
ev.setSequence(1);
ev.setClassification(Kolab::ClassConfidential);
ev.addCategory("Category");
@@ -257,7 +257,7 @@ void BindingsTest::journalCompletness()
ev.setUid("UID");
- ev.setCreated(Kolab::cDateTime(2006,1,6,12,0,0)); //UTC
+ ev.setCreated(Kolab::cDateTime(2006,1,6,12,0,0,true)); //UTC
ev.setSequence(1);
ev.setClassification(Kolab::ClassConfidential);
ev.addCategory("Category");