[GRASS-dev] Temporal: t.register: problem parsing when time zone present

Yann Chemin ychemin at gmail.com
Tue Mar 4 21:36:57 PST 2014


Hi,

input line is:
t.register input=ta maps=ta_2004131 start="2004-05-10 00:00:00 +0530"
end="2004
-05-10 23:59:59 +0530"

temporal says:
  File "/usr/lib/python2.7/sqlite3/dbapi2.py", line 69, in convert_timestamp
    hours, minutes, seconds = map(int, timepart_full[0].split(":"))
ValueError: invalid literal for int() with base 10: '00+05'

Manual says following format accepted:
start=string
Valid start date and time of the first map. Format absolute time:
"yyyy-mm-dd HH:MM:SS +HHMM", relative time is of type integer).
end=string
Valid end date and time of all map. Format absolute time: "yyyy-mm-dd
HH:MM:SS +HHMM", relative time is of type integer).

yann
-- 
----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20140305/86c92b08/attachment.html>


More information about the grass-dev mailing list