|
@@ -286,11 +286,11 @@ def build_scrobbles_from_book_map(
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
# Adjust for Daylight Saving Time
|
|
# Adjust for Daylight Saving Time
|
|
|
- if timestamp.dst() == timedelta(
|
|
|
|
|
- 0
|
|
|
|
|
- ) or stop_timestamp.dst() == timedelta(0):
|
|
|
|
|
- timestamp = timestamp - timedelta(hours=1)
|
|
|
|
|
- stop_timestamp = stop_timestamp - timedelta(hours=1)
|
|
|
|
|
|
|
+ #if timestamp.dst() == timedelta(
|
|
|
|
|
+ # 0
|
|
|
|
|
+ #) or stop_timestamp.dst() == timedelta(0):
|
|
|
|
|
+ # timestamp = timestamp - timedelta(hours=1)
|
|
|
|
|
+ # stop_timestamp = stop_timestamp - timedelta(hours=1)
|
|
|
|
|
|
|
|
scrobble = Scrobble.objects.filter(
|
|
scrobble = Scrobble.objects.filter(
|
|
|
timestamp=timestamp,
|
|
timestamp=timestamp,
|