View Issue Details

This bug affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
07953Bug reportsExpression Managerpublic2021-03-08 20:08
Reportermlhess Assigned Tomfaber  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Fixed in Version2.00+ 
Summary07953: strototime removed from EM
Description

STRTOTIME not working, it seems to be in master, but not in 2.05

https://github.com/LimeSurvey/LimeSurvey/blob/2.05/application/helpers/expressions/em_core_helper.php

https://github.com/LimeSurvey/LimeSurvey/blob/master/application/helpers/expressions/em_core_helper.php#L224

Steps To Reproduce

Create an expression using strtotime

Additional Information

I am using 2.05 head

TagsNo tags attached.
Bug heat10
Complete LimeSurvey version number (& build)130609
I will donate to the project if issue is resolvedNo
Browserchrome
Database type & versionmysql
Server OS (if known)linux
Webserver software & version (if known)apache
PHP Version5.4

Users monitoring this issue

There are no users monitoring this issue.

Activities

mlhess

mlhess

2013-06-26 04:22

reporter   ~25641

This is documented at

http://manual.limesurvey.org/wiki/Expression_Manager_Examples#Calculate_difference_between_two_dates

mfaber

mfaber

2013-06-26 09:28

reporter   ~25642

Mlhess: it's not YET in 2.05. I have made the respective changes and opened a pull request. So i guess it will be there pretty soon.

DenisChenu

DenisChenu

2013-06-26 11:13

developer   ~25643

Yep,

And thanks a lot mfaber ! Tested and used strtotime function yesterday : work great.

@mlhess : strtotime are only here since 13 day (in master).

sammousa

sammousa

2013-06-26 13:56

reporter   ~25655

Merged mfabers pull request. mfaber, thnx!

DenisChenu

DenisChenu

2013-06-26 19:55

developer   ~25670

mfaber is now dev in mantis.

c_schmitz

c_schmitz

2013-07-08 13:50

administrator   ~25719

2.00+ Build 130708 released.

Issue History

Date Modified Username Field Change
2013-06-26 04:21 mlhess New Issue
2013-06-26 04:22 mlhess Note Added: 25641
2013-06-26 09:28 mfaber Note Added: 25642
2013-06-26 11:13 DenisChenu Note Added: 25643
2013-06-26 13:56 sammousa Note Added: 25655
2013-06-26 13:56 sammousa Priority high => normal
2013-06-26 13:56 sammousa Status new => resolved
2013-06-26 19:54 DenisChenu Assigned To => mfaber
2013-06-26 19:54 DenisChenu Status resolved => assigned
2013-06-26 19:55 DenisChenu Note Added: 25670
2013-06-26 19:55 DenisChenu Status assigned => resolved
2013-06-26 19:55 DenisChenu Fixed in Version => 2.00+
2013-06-26 19:55 DenisChenu Resolution open => fixed
2013-07-08 13:50 c_schmitz Note Added: 25719
2013-07-08 13:50 c_schmitz Status resolved => closed