aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/bada/system.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/bada/system.cpp')
-rw-r--r--backends/platform/bada/system.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/backends/platform/bada/system.cpp b/backends/platform/bada/system.cpp
index d284688068..816a6755fc 100644
--- a/backends/platform/bada/system.cpp
+++ b/backends/platform/bada/system.cpp
@@ -399,6 +399,11 @@ void BadaSystem::getTimeAndDate(TimeDate &td) const {
td.tm_mday = currentTime.GetDay();
td.tm_mon = currentTime.GetMonth();
td.tm_year = currentTime.GetYear();
+#ifdef RELEASE_BUILD
+ #error getTimeAndDate() is not setting the day of the week
+#else
+ td.tm_wday = 0; // FIXME
+#endif
}
}