Skip to content

Commit ccd48ba

Browse files
author
Razvan Aguridan
committed
Use HHMMSS format for time
1 parent 2f4873a commit ccd48ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/multio/action/encode/GribEncoder.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,10 @@ void tryMapStepToTimeAndCheckTime(eckit::LocalConfiguration& in) {
128128
}
129129
else if (hasDateTime) {
130130
startDate = util::toDateInts(in.getLong("date"));
131-
startTime = util::toTimeInts(in.getLong("time") * 100);
131+
startTime = util::toTimeInts(in.getLong("time"));
132132

133133
in.set("startDate", in.getLong("date"));
134-
in.set("startTime", in.getLong("time") * 100);
134+
in.set("startTime", in.getLong("time"));
135135
}
136136

137137
eckit::DateTime startDateTime(eckit::Date(startDate.year, startDate.month, startDate.day),

0 commit comments

Comments
 (0)