The first question in the survey I'm currently working on is "When did you visit us". Its a Date/Time question type. I have the maximum date field date set to ('Y-m-d H:s') so it will autofill with the current date.
So far so good. It works great most of the day until 6pm. Right now it's showing the current date as 2/15 when I'm 6 hours short of that. In the Global setting|global|Time difference I have it set for -6. (This is on a shared server so can't change the server time in WHM)
So I'm either doing something wrong or it's a bug. The maximum field date obviously isn't using the offset to calculate the current day. I know the offset is working in other areas of limesurvey because when I get the admin email report it's the correct date/time for when the survey was executed.
EDIT: I uploaded the image that shows limesurvey knows it's the wrong date but that is what it defaults to. Weird
date max is a fixed var (and even if not : it still an issue).
Then when you set time : the time is set when page is loaded.
The user enter someting just some seconds after : time is out
Set max date to
date('Y-m-d 24:00') or date("tomorrow")
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.