Skip to content

Commit de99aa4

Browse files
authored
Merge pull request #69 from twingly/revert-67-include-timezone-in-timestamps
Revert "Include timezone info for timestamps in search query"
2 parents 66d22b0 + 82054be commit de99aa4

File tree

3 files changed

+1307
-571
lines changed

3 files changed

+1307
-571
lines changed

lib/twingly/search/query.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def formatted_end_date
130130
end
131131

132132
def format_timestamp_for_query(timestamp)
133-
timestamp.to_time.utc.iso8601
133+
timestamp.to_time.utc.strftime("%FT%T")
134134
end
135135
end
136136
end

0 commit comments

Comments
 (0)