diff options
| author | Mavhod | 2015-08-13 14:09:21 +0700 |
|---|---|---|
| committer | Mavhod | 2015-08-13 14:09:21 +0700 |
| commit | 69710055f0af99838d669b2e3fa3f1ae8bf6683d (patch) | |
| tree | 9785ba83d0f65e5573b931192af5cdc88ba94c73 /drivers/unix/os_unix.cpp | |
| parent | c2e2f2e0aebf6342e6f18ae5d67b6a825590675a (diff) | |
| download | godot-69710055f0af99838d669b2e3fa3f1ae8bf6683d.tar.gz godot-69710055f0af99838d669b2e3fa3f1ae8bf6683d.tar.zst godot-69710055f0af99838d669b2e3fa3f1ae8bf6683d.zip | |
Diffstat (limited to 'drivers/unix/os_unix.cpp')
| -rw-r--r-- | drivers/unix/os_unix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/unix/os_unix.cpp b/drivers/unix/os_unix.cpp index 314e13cee..ba151b0f4 100644 --- a/drivers/unix/os_unix.cpp +++ b/drivers/unix/os_unix.cpp @@ -242,7 +242,7 @@ OS::Date OS_Unix::get_date(bool utc) const { lt=localtime(&t); Date ret; ret.year=1900+lt->tm_year; - ret.month=(Month)lt->tm_mon; + ret.month=(Month)lt->tm_mon + 1; ret.day=lt->tm_mday; ret.weekday=(Weekday)lt->tm_wday; ret.dst=lt->tm_isdst; |
