Skip to content
Snippets Groups Projects
Commit c45f1d57 authored by Florian Prill's avatar Florian Prill Committed by Sergey Kosukhin
Browse files

fixed date structure initialization.

parent 6768c48b
No related branches found
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