Closed SetZero closed 4 years ago
Hi there,
I tried the latest version and explicitly e75b5f5 and still get the following error:
C:\Dump\yt>python report.py
Generating Heat Map.....
Traceback (most recent call last):
File "report.py", line 249, in <module>
visual.heat_map()
File "report.py", line 43, in heat_map
Mon = html.dataframe_heatmap('Mon')
File "C:\Dump\yt\parse.py", line 109, in dataframe_heatmap
times = self.find_times()
File "C:\Dump\yt\parse.py", line 61, in find_times
dayOfWeek = datetime.datetime.strptime(time[0:11], '%d %b %Y').strftime('%a')
File "C:\Users\x\AppData\Local\Programs\Python\Python38\lib\_strptime.py", line 568, in _strptime_datetime
tt, fraction, gmtoff_fraction = _strptime(data_string, format)
File "C:\Users\x\AppData\Local\Programs\Python\Python38\lib\_strptime.py", line 352, in _strptime
raise ValueError("unconverted data remains: %s" %
ValueError: unconverted data remains: ,
My machine's time format is yyyy-mm-dd. My Takeout is showing dates as "2010-11-10 19:49:05 UTC".
Any help would be appreciated!
Currently the only possible time format is: 14 Dec 2019, 15:06:51 EST
But the export allows time formats like: 14 Dec 2019, 15:06:51 CET May 22, 2019, 2:19:17 PM EST
etc.
This will allow both of the above formats to be parsable.