test.t.rast.accdetect stderr

+ g.region s=0 n=80 w=0 e=120 b=0 t=50 res=10 -p
+ r.mapcalc expr=temp_1 = 5
+ r.mapcalc expr=temp_2 = 10
+ r.mapcalc expr=temp_3 = 15
+ r.mapcalc expr=temp_4 = 20
+ r.mapcalc expr=temp_5 = 25
+ r.mapcalc expr=temp_6 = 30
+ t.create type=strds temporaltype=absolute output=temp_abs1 title=A test descr=A test
Default TGIS driver / database set to:
driver: sqlite
database: $GISDBASE/$LOCATION_NAME/$MAPSET/tgis/sqlite.db
WARNING: Temporal database connection defined as:
But database file does not exist.
Creating temporal database: /grassdata/tests-grassdata/piemonte_utm32_wgs84_grass7/__temporal_t_rast_accdetect_test.t.rast.accdetect/tgis/sqlite.db
+ t.register -i type=raster input=temp_abs1 maps=temp_1,temp_2,temp_3,temp_4,temp_5,temp_6 start=2001-01-01 increment=2 months
Gathering map information...
Registering maps in the temporal database...
Registering maps in the space time dataset...
0..Updating space time dataset...
+ t.rast.accumulate input=temp_abs1 output=temp_accumulation base=temp_acc limits=10,25 start=2001-01-01 gran=2 months cycle=12 months suffix=num%03
Traceback (most recent call last):
  File "scripts/t.rast.accumulate", line 538, in <module>
  File "scripts/t.rast.accumulate", line 290, in main
    start = tgis.adjust_datetime_to_granularity(start, granularity)
  File "etc/python/grass/temporal/datetime_math.py", line 420, in adjust_datetime_to_granularity
    seconds = mydate.second
AttributeError: 'NoneType' object has no attribute 'second'