Skip to content

Commit 6b880c1

Browse files
committed
Use existing UTC object
1 parent 4b88dcf commit 6b880c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/groupdate/adapters/sqlite_adapter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def setup_function
5757
raw_connection = connection.raw_connection
5858
return if raw_connection.instance_variable_defined?(:@groupdate_function)
5959

60-
utc = ActiveSupport::TimeZone["UTC"]
60+
utc = SeriesBuilder.utc
6161
# note: this function is part of the internal API and may change between releases
6262
# TODO improve performance
6363
raw_connection.create_function("groupdate_internal", 4) do |func, period, value, time_zone, day_start, week_start|

0 commit comments

Comments
 (0)