View Issue Details

This issue affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
19286Bug reports_ Unknownpublic2026-11-20 16:29
ReporterDenisChenu Assigned To 
PrioritynoneSeverityminor 
Status closedResolutionno change required 
Summary19286: Create an helper to get valid shifted date for model
Description

See https://github.com/LimeSurvey/LimeSurvey/pull/3629

Steps To Reproduce

Steps to reproduce

? Dev issue

Expected result

Have a function for model to test if a attribute vaue is a valid date and return it shifted
This function is tested at each update (with real DB value (and|or) not)

Actual result

Created in private Survey model function because Same code done 2 times

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)
I will donate to the project if issue is resolved
Browser
Database type & version
Server OS (if known)
Webserver software & version (if known)
PHP Version
Git branch / Pull Request URLN/A

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2026-11-20 16:29

administrator   ~87839

The duplicated code is already in one helper in the Survey model. Dates are now saved in UTC, so there is no time shift left to share with other models. No further change needed.

Issue History

Date Modified Username Field Change
2023-11-28 08:59 DenisChenu New Issue
2023-11-28 09:00 DenisChenu Steps to Reproduce Updated
2026-11-19 22:50 c_schmitz Status new => acknowledged
2026-11-20 16:29 c_schmitz Note Added: 87839
2026-11-20 16:29 c_schmitz Bug heat 0 => 2
2026-11-20 16:29 c_schmitz Status acknowledged => closed
2026-11-20 16:29 c_schmitz Resolution open => @0@
2026-11-20 16:29 c_schmitz Resolution @0@ => no change required