Date/Time Maximum Field question

Plus d'informations
il y a 1 mois 1 semaine - il y a 1 mois 1 semaine #180528 par jhookham
COM_KUNENA_MESSAGE_CREATED_NEW
Hello All!

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

Any suggestions? Thank You!!
Pièces jointes :
Last edit: il y a 1 mois 1 semaine by jhookham.

Connexion ou Créer un compte pour participer à la conversation.

LimeSurvey Partners
Plus d'informations
il y a 1 mois 1 semaine - il y a 1 mois 1 semaine #180536 par DenisChenu
COM_KUNENA_MESSAGE_REPLIED_NEW
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 service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Last edit: il y a 1 mois 1 semaine by DenisChenu.

Connexion ou Créer un compte pour participer à la conversation.

Commencez dès maintenant !

Créez simplement un compte et commencez à utiliser LimeSurvey dès aujourd'hui.

Inscrivez-vous maintenant

Inscrivez-vous à notre Newsletter!