Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2011-10-27 15:34:13
- jpdupont
- Member
- Registered: 2004-10-01
- Posts: 752
3 problems with rcb_excel
I want to load a simple Excel sheet with the plugin. All is fine, except 3 things :
- A “0” in a cell becomes an empty td in the table, with a
- All time cells like 15:30 or 14:42 becomes 01:00 in the table
- The dd/mm/yyyy Excel date becomes an mm/dd/yyyy date in html
Has anyone ever met and corrected one of these problems?
Are there some other library to replace the one used by the plugin?
Offline
#2 2011-11-07 13:59:01
- jpdupont
- Member
- Registered: 2004-10-01
- Posts: 752
Re: 3 problems with rcb_excel
Solutions :
I debug myself and found some workaround
- If “0” found in a cell, replace “0” with a special string. Then replace the string with “0” when building the td in the table. Bad … but work.
- Upgrade PHP from 5.2 to 5.3 and this part is OK.
- Modify the formating schema in the library code from mm/dd/YY to dd/mm/YY
Offline
Pages: 1