aboutsummaryrefslogtreecommitdiff
path: root/drivers/unix/os_unix.cpp
diff options
context:
space:
mode:
authorKyle Luce2016-03-15 21:17:10 -0700
committerKyle Luce2016-03-16 23:13:39 -0700
commit674c6f2f2de46517948c00ecfb7ee8f39849905e (patch)
tree27993974295922fc27bc612be70b04604975f692 /drivers/unix/os_unix.cpp
parentcb065b961c80ec6d810539e48ebff75b64367df3 (diff)
downloadgodot-674c6f2f2de46517948c00ecfb7ee8f39849905e.tar.gz
godot-674c6f2f2de46517948c00ecfb7ee8f39849905e.tar.zst
godot-674c6f2f2de46517948c00ecfb7ee8f39849905e.zip
Diffstat (limited to 'drivers/unix/os_unix.cpp')
-rw-r--r--drivers/unix/os_unix.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/unix/os_unix.cpp b/drivers/unix/os_unix.cpp
index 84b6dc24d..359758290 100644
--- a/drivers/unix/os_unix.cpp
+++ b/drivers/unix/os_unix.cpp
@@ -261,6 +261,7 @@ OS::Date OS_Unix::get_date(bool utc) const {
return ret;
}
+
OS::Time OS_Unix::get_time(bool utc) const {
time_t t=time(NULL);
struct tm *lt;