summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/urls.py
diff options
context:
space:
mode:
authorElliot Smith <elliot.smith@intel.com>2016-07-06 12:00:35 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-08 09:57:28 +0100
commit903c3c2ef8e31aad287d914dbb18a926cb96e6d0 (patch)
treefab731e84ee425dc805eca99ced0d68475be6b42 /bitbake/lib/toaster/toastergui/urls.py
parent78b3fe6d5bf7f239f3060627372f951bfec020c7 (diff)
downloadpoky-903c3c2ef8e31aad287d914dbb18a926cb96e6d0.tar.gz
bitbake: buildinfohelper: ensure task datetimes are timezone-aware
When using toaster-eventreplay to run a bitbake event file through toasterui/buildinfohelper, errors occur when the tasks are updated with buildstats info: RuntimeWarning: DateTimeField Task.started received a naive datetime (2016-07-06 09:15:22.070000) while time zone support is active. This is because a method in buildinfohelper returns a naive datetime, but Django is expecting timezone-aware datetimes. Ensure that datetimes used to set the started/ended times on tasks are converted to timezone-aware datetimes. (Bitbake rev: df9f4337bec87024ea6a43138c6080a755eb7fab) Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/urls.py')
0 files changed, 0 insertions, 0 deletions