Show More
@@ -38,7 +38,10 b' def api_get_threaddiff(request, thread_i' | |||||
38 |
|
38 | |||
39 | thread = get_object_or_404(Post, id=thread_id).get_thread() |
|
39 | thread = get_object_or_404(Post, id=thread_id).get_thread() | |
40 |
|
40 | |||
41 | filter_time = datetime.fromtimestamp(float(last_update_time) / 1000000, |
|
41 | # Add 1 to ensure we don't load the same post over and over | |
|
42 | last_update_timestamp = float(last_update_time) + 1 | |||
|
43 | ||||
|
44 | filter_time = datetime.fromtimestamp(last_update_timestamp / 1000000, | |||
42 | timezone.get_current_timezone()) |
|
45 | timezone.get_current_timezone()) | |
43 |
|
46 | |||
44 | json_data = { |
|
47 | json_data = { |
General Comments 0
You need to be logged in to leave comments.
Login now