Ticket #159 (defect)
Opened 2 years ago
Last modified 2 months ago
Events lose start/end hour value when saved
Status: new
| Reported by: | bgleason@mwgl.org | Assigned to: | brieb |
|---|---|---|---|
| Priority: | major | Milestone: | unknown |
| Component: | phpbms | Version: | 0.92 |
| Keywords: | Event | Cc: | |
When you Create an event and save it, the hour values for the start and end times are nulled leaving only the minutes, for ex. "10:30 AM" would only be saved as ":30 AM". If you try to correct it by using the preset time interface, the times change to "NaN:NaN AM"..
Attachments
Change History
06/29/07 00:53:36: Modified by anonymous
- summary changed from Events lose hour value on the Home Page to Events lose start/end hour value when saved.
06/29/07 01:00:16: Modified by anonymous
07/01/07 00:04:46: Modified by bgleason@mwgl.org
Found it...
In session.php (Line 231):
Original Line:
define("HOUR_FORMAT","%l"); Corrected Line: define("HOUR_FORMAT","%I");
08/14/07 13:23:44: Modified by brieb
- milestone changed from 0.8 to unknown.
phpBMS uses different formats, as different platforms (mainly windows) uses a different format. We try to figure out wich one you are using by checking fro the REQUEST_URI server variable -- which I think actually only checks to see if you are running PHP as a CGI or not.
Perhaps there is a better check to see wich hour format to use. Any information on your particular server setup (platform, web server and version, PHP version, PHP CGI/no CGI, can help us determine the logic for which hour formatting to use?
04/13/08 19:01:24: Modified by Derek
- version changed from 0.7 to 0.92.
Running into a similar issue as above. I am running PHP 5.25 and Mysql 5.0.45 on a Windows box using Apache.
For some reason even though the dates are in the database they are not displayed at all on the notes page for tasks or events.
11/25/08 00:07:34: Modified by
I am still running to the same issue where the hour is not showing up. Previous solution suggest changing the HOUR_FORMAT to something. Any help is greatly appreciated. Thanks.
Currently running phpBMSv0.96 with WAMP Server( Apache 2.2.8, MySQL 5.0.51b, PHP 5.2.6 )
I verified in the database that the correct times are showing, somehow the information is not getting parsed from the database correctly.. Still looking into the issue..