Hi,
The attachment is the proposal patch for dt_common.c.
replace strtol to strtoint, as strtol() will return 64-bit output in that case, while type of var, hr, tm_min is int.
Young