Commit 7b3c418c authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

settaxis: added support for negative year in format without -

parent eab48628
......@@ -151,7 +151,7 @@ void *Settime(void *argument)
datestr = operatorArgv()[0];
timestr = operatorArgv()[1];
if ( strchr(datestr, '-') )
if ( strchr(datestr+1, '-') )
{
sscanf(datestr, "%d-%d-%d", &year, &month, &day);
sdate = cdiEncodeDate(year, month, day);
......
Supports Markdown
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