Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9696465
D7006.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
471 B
Subscribers
None
D7006.diff
View Options
diff --git a/requirements-swh.txt b/requirements-swh.txt
--- a/requirements-swh.txt
+++ b/requirements-swh.txt
@@ -1,2 +1,2 @@
swh.core[http] >= 0.4
-swh.model >= 3.0.0
+swh.model >= 4.4.0
diff --git a/swh/deposit/utils.py b/swh/deposit/utils.py
--- a/swh/deposit/utils.py
+++ b/swh/deposit/utils.py
@@ -113,7 +113,7 @@
return {
"timestamp": tstz.timestamp.to_dict(),
- "offset": tstz.offset,
+ "offset": tstz.offset_minutes(),
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Aug 17, 8:07 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3219062
Attached To
D7006: Stop using the deprecated 'TimestampWithTimezone.offset' attribute
Event Timeline
Log In to Comment