View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
12041Bug reportsOtherpublic2017-01-12 12:09
Reportermbr Assigned ToLouisGac 
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version2.58.x 
Fixed in Version2.58.x 
Summary12041: expire date of a survey deactivated manually is one day before the date of the day
Description

Hello,

When a user wants to expire his survey manually, the date is shifted a day before the date of the day.
This issue is caused by a line in application/models/Survey.php :
$dateTime = dateShift($dateTime, "Y-m-d H:i:s", '-1 day');

I'm gonna make a pull request to have a shift of one minute instead of a day.

Bests

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)2.58.0
I will donate to the project if issue is resolvedNo
Browserchromium, chrome, firefox
Database type & versionMariaDB 5.5 (server) & MySQL 5.7 (laptop)
Server OS (if known)RHEL 7 (server) & Ubuntu 16.04 (laptop)
Webserver software & version (if known)apache 2.4.6 (server) & PHP server (laptop)
PHP VersionPHP 5.4.16 (server) & PHP 7.0.8 (laptop)

Users monitoring this issue

There are no users monitoring this issue.

Activities

LouisGac

LouisGac

2017-01-11 12:28

developer   ~42680

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=21920

Related Changesets

LimeSurvey: master afc856ff

2017-01-11 13:12

Marc Bruschera


Details Diff
Fixed issue 12041 : expire date of a survey deactivated manually is one day before the date of the day Affected Issues
12041
mod - application/models/Survey.php Diff File

LimeSurvey: master 79f63047

2017-01-11 13:28

LouisGac

Committer: GitHub


Details Diff
Merge pull request #618 from papa-mb/master

Fixed issue 12041 : expire date of a survey deactivated manually is …
Affected Issues
12041
mod - application/models/Survey.php Diff File

Issue History

Date Modified Username Field Change
2017-01-11 10:21 mbr New Issue
2017-01-11 12:28 Changeset attached => LimeSurvey master afc856ff
2017-01-11 12:28 LouisGac Changeset attached => LimeSurvey master 79f63047
2017-01-11 12:28 LouisGac Note Added: 42680
2017-01-11 12:28 LouisGac Assigned To => LouisGac
2017-01-11 12:28 LouisGac Resolution open => fixed
2017-01-12 12:09 c_schmitz Status new => closed
2017-01-12 12:09 c_schmitz Fixed in Version => 2.58.x