Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Date/Time question not caollecting responses

More
7 years 6 days ago #150005 by johnf
Hi,

I'm using the Date/Time question with the format set to 'HH:MM A' and the responses are not being captured by LimeSurvey.

Even when a valid entry is made, the response is blank. This presents a problem with a Mandatory question, because LImesurvey presents an error message even when a valid entry has been made.

If the format is changed to 'HH:MM' this one works fine.

This seems like a bug to me... any suggestions or HELP.
The 'am/pm' portion is valuable part of the question since 24 hr time ('HH:MM') is not ideal.

Thanks all.
The topic has been locked.
More
7 years 6 days ago #150007 by jelo

johnf wrote: This seems like a bug to me... any suggestions or HELP.

The documentation is not showing the A a as a valid parameter for date/time format.
manual.limesurvey.org/Question_type_-_Date#Date.2FTime_format

But since the display is supported we should rate this as a bug.

I have created a bugticket for you.
bugs.limesurvey.org/view.php?id=12198

The display of the hours is 24. That seems to better limited to 12 too.

Personally I still wonder why countries stick to AM/PM in 2017.
Perhaps this shouldn't be seen as bug but as a motivation to adapt 24hours ;-)

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 4 days ago #150063 by DenisChenu
Replied by DenisChenu on topic Date/Time question not caollecting responses
Hi,

Maybe not on LS manual, but date function must be same than php : secure.php.net/manual/en/function.date.php .

Then : seems to be a bug.

@johnf : can you put a litlle lss file on the report ? Just to show the issue (can be one or two question only)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
More
7 years 4 days ago #150080 by jelo

DenisChenu wrote: @johnf : can you put a litlle lss file on the report ? Just to show the issue (can be one or two question only)

Since johnf didn't created the ticket I added the requested survey file as well.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 3 days ago #150150 by holch

jelo wrote: Personally I still wonder why countries stick to AM/PM in 2017.
Perhaps this shouldn't be seen as bug but as a motivation to adapt 24hours ;-)


Hahahaha, this is a good one. And while they are at it, they could just adapt to the metric system as well. ;-)

But I guess it is not gonna happen any time soon, so don't hold your breath.

:-)

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose