In <3d0038fd-00ec-4560-ab0d-06528f838...@googlegroups.com> pestre...@gmail.com
writes:
> I think it's a float, I see in the code
> if request.method == "POST":
> end_timestamp = request.POST.get('end_timestamp', None)
> start_timestamp = request.POST.get('start_timestamp', None)
I think it's a float, I see in the code
if request.method == "POST":
end_timestamp = request.POST.get('end_timestamp', None)
start_timestamp = request.POST.get('start_timestamp', None)
and in the debug of django
https://mail.python.org/mailman/listinfo/python-list
In <09d39e02-c741-4a46-b34f-551e8...@googlegroups.com> pestre...@gmail.com
writes:
> =
> # Compute duration for this item.
> duration = None
> if end_timestamp and start_timestamp:
> start_datetime = datetime.fromtimestamp(float(star