Skip to content
Snippets Groups Projects
Commit bd8fb2bd authored by Florian Prill's avatar Florian Prill
Browse files

fixed date structure initialization.

parent 4fb55aea
No related tags found
No related merge requests found
......@@ -300,6 +300,7 @@ char* gribMakeTimeString(grib_handle* gh, CdiTimeType timeType)
date.tm_mday = (int)gribGetLong(gh, "day");
date.tm_hour = (int)gribGetLong(gh, "hour");
date.tm_min = (int)gribGetLong(gh, "minute");
date.tm_isdst = 0;
if(gribEditionNumber(gh) == 1)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment