projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d52a03
)
Fix incorrect day-of-month in LocalTime.
author
Carl Hetherington
<cth@carlh.net>
Thu, 30 Apr 2015 13:18:46 +0000
(14:18 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 30 Apr 2015 13:18:46 +0000
(14:18 +0100)
src/local_time.cc
patch
|
blob
|
history
diff --git
a/src/local_time.cc
b/src/local_time.cc
index fe58c07736388622d60b0d90e20c832044d584e1..0bbddf43ed251b343f1fba79563285b6249908b7 100644
(file)
--- a/
src/local_time.cc
+++ b/
src/local_time.cc
@@
-34,7
+34,7
@@
LocalTime::LocalTime ()
_year = tm->tm_year + 1900;
_month = tm->tm_mon + 1;
- _day = tm->tm_mday
+ 1
;
+ _day = tm->tm_mday;
_hour = tm->tm_hour;
_minute = tm->tm_min;
_second = tm->tm_sec;