We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56b83d5 commit 9b3fc9fCopy full SHA for 9b3fc9f
lib/stream-chat/util.rb
@@ -16,6 +16,7 @@ def self.get_sort_fields(sort)
16
end
17
18
# Normalizes a timestamp to RFC 3339 / ISO 8601 string format.
19
+ sig { params(timestamp: T.anything).returns(T.untyped) }
20
def self.normalize_timestamp(timestamp)
21
case timestamp
22
when DateTime then timestamp.rfc3339
0 commit comments