Fix UTM parameter assignment and update version to 0.34.2

This commit is contained in:
Eugene Burmakin 2025-10-31 19:29:20 +01:00
parent 2ffac60dbb
commit 6c62edb593
4 changed files with 10 additions and 3 deletions

View file

@ -1 +1 @@
0.34.1
0.34.2

View file

@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
# [0.34.2] - 2025-10-31
## Fixed
- Fixed a bug in UTM trackable concern. #1909
# [0.34.1] - 2025-10-30
## Fixed

View file

@ -1,5 +1,6 @@
# frozen_string_literal: true
module UtmTrackable
extend ActiveSupport::Concern
UTM_PARAMS = %w[utm_source utm_medium utm_campaign utm_term utm_content].freeze

View file

@ -38,8 +38,8 @@ class Tracks::DailyGenerationJob < ApplicationJob
Tracks::ParallelGeneratorJob.perform_later(
user.id,
start_at: start_timestamp,
end_at: Time.current.to_i,
start_at: Time.zone.at(start_timestamp),
end_at: Time.current,
mode: 'daily'
)
end