edit alarm: change default time to 6.00 am 02/110702/1
authorLukasz Stanislawski <l.stanislaws@samsung.com>
Tue, 17 Jan 2017 12:05:41 +0000 (13:05 +0100)
committerLukasz Stanislawski <l.stanislaws@samsung.com>
Tue, 17 Jan 2017 12:49:10 +0000 (13:49 +0100)
Change-Id: I7589537eb5eeb5b1981ede5a54de89ac534c5f89

clock/src/Presenter/EditAlarmPresenter.cpp

index 6aec549..f3f7bea 100644 (file)
@@ -52,7 +52,8 @@ view::EditAlarmView::AlarmViewInfo EditAlarmPresenter::GetDefaultInfo() const
 {
        view::EditAlarmView::AlarmViewInfo data;
 
-       data.time = Time::Now();
+       auto time = Time::Now();
+       data.time = Time(time.GetYear(), time.GetMonth(), time.GetDay(), 6, 0, 0, 0);
        data.snooze = true;
        data.volume = 0.7;
        data.melody = TizenAppUtils::GetResourcePath(