The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
Submission Date confusion - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: Submission Date confusion (/showthread.php?tid=5243) |
Submission Date confusion - chalorlay - Jul 14th, 2015 Code: Submission ID PC Date (GMT+8) Database Submission Date When search data using Date (Submission Date) on the 13/07/2015, the 4 records above missing from the list. PC Date is a field in the form that captures the PC's date when submit the form. The logged in user that perform the search already set as +8 in the user setting. I think the search by date is not searching by user's time zone setting but search instead based on the database date. How to repair this behaviour? ** I could be wrong. Shed some light pls on where to look for the relevant codes (I'm beginner with PHP, not 2 months old with time to spare!) Code: EDIT (forgot the setup info) Update Another finding today. Install new Formtool on another host of mine and test new submission. Submission Date now equals PC's date at +8GMT. The new setup is: Code: Form Tools Core Version: 2.2.7 Is it the server setting? Formtool setting or Version difference? Hah...got a direction on what to look for. Another Update Code: System Time Offset (server with the problem) : +8 hours 11:41 AM RE: Submission Date confusion - chalorlay - Jul 14th, 2015 Finally, Ensure you get the correct date/time to your local time in the setting by adjusting the GMT offset. Not all server set the same and hey...you don't actually know where your host is located. RE: Submission Date confusion - whtknt - Jul 23rd, 2015 I'm having a similar issue but it's even more perplexing! I've properly set the GMT offset, however when an email is generated upon a form submission, the submission time is 5 hours ahead of the actual time. What's strange is that if I go into the form to test it and I generate (display) a random submission, it displays the correct time there. However, when the actual email is sent upon form submission, a completely different time is used. Any thoughts? (Jul 14th, 2015, 8:10 PM)chalorlay Wrote: Finally, RE: Submission Date confusion - chalorlay - Jul 23rd, 2015 My test installation is still on and I'll try to reproduce your issue this weekend. While at it, also found out that my test installation is 2.2.7 that was removed from distribution due to unresolved Option List bug. I need to do installation again with version 2.2.6 With a matured (IMO), I believe where there are errors, must be something that we didn't set things correctly! |