Time format offline app

More
2 years 10 months ago #135618 by cbranch
Hi,
I encountered a problem with the time format between limesurvey and the offline app.
While I could use the time in the format HH:MM for calculations (strtotime) on the desktop version, it returned -Inf in the android app.
Any suggestions?

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
2 years 10 months ago #135650 by aaskoura
Replied by aaskoura on topic Time format offline app
Hi, Can you please post a sample .lss to understand your issue a little more?

Askoura
OfflineSurveys Support

Please Log in or Create an account to join the conversation.

More
2 years 10 months ago #135774 by cbranch
Replied by cbranch on topic Time format offline app
Hi,
the date/time input on my phone shows also months on the phone (timestart1, timend1).
In the browser, if I chose (in timestart1, timend1) only the hours and leave the minutes, the timediff calculation won't work (group calc).
The boxes (timestartbox, timeendbox) are fine on the phone, but none of the time-calculations work there (Result=0).
Best,
christian
Attachments:

Please Log in or Create an account to join the conversation.

More
2 years 10 months ago #135891 by aaskoura
Replied by aaskoura on topic Time format offline app
Why don't you give it a try now - Refresh your survey (to reflect changes) and let me know if it works
Askoura
OfflineSurveys Support

Please Log in or Create an account to join the conversation.

More
2 years 10 months ago - 2 years 10 months ago #135905 by Mazi
Replied by Mazi on topic Time format offline app
We are working hard on fixing such issues. You problem was probably fixed at release 1.12, see www.offlinesurveys.com/release-notes

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com
Want to use your survey offline -> www.offlinesurveys.com
Last edit: 2 years 10 months ago by Mazi.

Please Log in or Create an account to join the conversation.

More
2 years 10 months ago #136106 by cbranch
Replied by cbranch on topic Time format offline app
Thank you very much for the prompt reply. I now also ran a manual update for the app (from 1.13 to 1.16).
The version with the dropdown-boxes works perfectly now (forced to pick both hours and minutes), but when I write the time myself (format xx:yy) it won't calculate properly (equation timediff1).
Best,
Christian

Please Log in or Create an account to join the conversation.

More
2 years 10 months ago #136108 by aaskoura
Replied by aaskoura on topic Time format offline app
If the text field is disabled... So you are forced to use the Android Datetime... Would that solve your issue?

Please Log in or Create an account to join the conversation.

More
2 years 10 months ago #136112 by aaskoura
Replied by aaskoura on topic Time format offline app
Can you please refresh your survey (Just refresh... no need for app re-install) and tell me if your issue is now fixed?

Please Log in or Create an account to join the conversation.

More
2 years 10 months ago #136122 by cbranch
Replied by cbranch on topic Time format offline app
The calculation for the dropdown-version worked (1 hour difference = 3600), the calculation for the text version not (1 hour difference = 0). Knowing, that one way works is good already. Apparently, the quick-reply in the forum didn't submit my answer :-).

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!