LimeSurvey: 2.05 c17941d5

Author Committer Branch Timestamp Parent
mfaber mfaber 2.05 2013-06-24 14:57:38 2.05 46d5eba8
Changeset

new feature #7811: implement strtotime() for EM

DEV: already implemented in master...now for 2.05
DEV: see pull request https://github.com/LimeSurvey/LimeSurvey/pull/85

DEV: facilitates the calculation with dates/times in expression manager.
DEV: E.g. calculation of difference in days between two dates entered in
DEV: previous questions of the survey
DEV: The function makes life much easier. Instead of
DEV:
{mktime(0,0,0,substr(date1,3,2),substr(date1,0,2),substr(date1,6,4))}
DEV: one can just use {strtotime(date)}.
DEV: strtotime can deal with a lot of different date/time formats.

mod - application/helpers/expressions/em_core_helper.php Diff File
mod - scripts/expressions/em_javascript.js Diff File