Commit 56b042e6 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

splitTimevalue: vdate bug fix for TUNIT_MONTH.

parent 26710b22
...@@ -1203,7 +1203,6 @@ void splitTimevalue(double timevalue, int timeunit, int64_t *date, int *time) ...@@ -1203,7 +1203,6 @@ void splitTimevalue(double timevalue, int timeunit, int64_t *date, int *time)
{ {
vdate = (int64_t) timevalue*100 - ((timevalue < 0) * 2 - 1); vdate = (int64_t) timevalue*100 - ((timevalue < 0) * 2 - 1);
vtime = 0; vtime = 0;
// printf("%g %ld\n", timevalue, (long)vdate);
} }
else if ( timeunit == TUNIT_YEAR ) else if ( timeunit == TUNIT_YEAR )
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment