Commit Graph

30 Commits

Author SHA1 Message Date
MarkBaker f7296f58b4 More PSR-2 goodness.... getting there slowly 2015-05-13 00:40:55 +01:00
MarkBaker fca778225c Ajust copyright to 2015 2015-05-02 23:50:37 +01:00
Martin Evans 487888414a Minor Docblock update: corrected the return value from PHPExcel_Shared_Date::ExcelToPHPObject updated to reflect the PHP DateTime object that is to be returned. 2014-06-15 18:05:51 +01:00
Mark Baker 992aee683a Update to copyright year in file headers 2013-12-31 18:36:33 +00:00
Mark Baker f86458630f Trap for scientific format masks with "0" or "#" before the "E" 2013-10-28 19:13:59 +00:00
Mark Baker bff907a1b8 Number format mask test for dates: test for "General" format should be case-insensitive, and scientific format mask shouldn't return a positive for date 2013-10-28 19:05:26 +00:00
Mark Baker 6a4be7da3c Update to copyright year in file headers, and minor documentation updates 2013-05-14 12:20:28 +01:00
Mark Baker b42d4a353c Fix reference to worksheet/cell collection from cell in isDateTime() 2013-03-20 13:48:25 +00:00
Mark Baker d8debd0966 Minor tweaks and bugfixes 2012-11-25 17:56:27 +00:00
Mark Baker 0ad1c8b585 Factor timezone methods to a separate helper class 2012-11-03 21:52:55 +00:00
Mark Baker 53a32ce7f7 Providing support for timezone adjustments in date/time conversion methods 2012-11-02 23:07:01 +00:00
Mark Baker 8f3640e44c Change reader exceptions to PHPExcel_Reader_Exception 2012-10-29 23:48:29 +00:00
Mark Baker 0b60b61104 Bugfix: takaakik) Work Item 15455 - getNestingLevel() Error on Excel5 Read
Bugfix: ix to Excel5 Reader when cell annotations are defined before their referenced text objects
2012-08-01 17:25:10 +01:00
Mark Baker dbe12c73a2 Formatting constant GENERAL should be FORMAT_GENERAL 2012-07-24 07:39:36 +01:00
Mark Baker 317f00b259 Bugfix to ensure that General format is not treated as a date format
despite containg e for epoch
OOCalc Reader modified to process number-rows-repeated
Modify OOCalc Reader to only read cells that containing data, or merged cells
(depending on setReadDataOnly setting)
2012-07-23 21:52:14 +01:00
Mark Baker 57464cbf1a Bugfix: Support for "e" (epoch) date format mask
Rendered as a 4-digit CE year in non-Excel outputs
2012-06-26 20:55:27 +01:00
Mark Baker 4bb4f5ebc8 Doc Block changes
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87642 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-11 19:24:20 +00:00
Mark Baker 2526492ca5 Change copyright 2011 -> 2012
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87248 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-03 21:16:09 +00:00
Mark Baker 695edbf677 Minor tweaks to Excel functions to handle envelope cases
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85852 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-29 14:25:25 +00:00
Mark Baker bde593557d Minor performance optimisation: use $x+=3 instead of $x=$x+3
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83576 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-03 10:02:24 +00:00
Mark Baker 631834b4d6 Minor performance improvement to date conversion routines
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@71598 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-04-09 18:16:08 +00:00
Mark Baker a8517724dc Bugfix: Work item 15379 - Named ranges with dot don't get parsed properly
Bugfix:	Work item 15096 - insertNewRowBefore fails to consistently update references
Bugfix:	"i" is not a valid character for Excel date format masks (in isDateTimeFormatCode() method)


git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@69064 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-21 12:21:20 +00:00
Mark Baker 8218d04b0f Bugfix: Reduced false positives from isDateTimeFormatCode() method by suppressing testing within quoted strings (thanks to John Machin, author of xlrd, and the maintainer of xlwt for reading/writing Excel files in Python)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@68308 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-10 12:26:50 +00:00
Mark Baker 956cc7a2cf Bugfix: Work item 11576 - AdvancedValueBinder.php: String sometimes becomes a date when it shouldn't. Improved with a preg_match trap to reject unlikely formats for dates before passing value to PHPExcel_Shared_Date::stringToExcel() for final validation
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67536 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-29 17:05:02 +00:00
Maarten Balliauw ccbb28167b Updated headers to reflect the new year. Happy new year 2011!
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66338 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-03 09:20:10 +00:00
Mark Baker 5917b8c9b0 Fix call to DATEVALUE() and TIMEVALUE() methods for new function classes
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64766 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-03 14:28:57 +00:00
Mark Baker ad9e4e2f0f Fix for a single character string in a call to PHPExcel_Shared_Date::stringToExcel() being treated as a valid date
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62207 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-13 13:16:02 +00:00
Mark Baker f0131c0282 Bugfix: Modified PHPExcel_Shared_Date::isDateTimeFormatCode() to return false if format code begins with "_" or with "0 " to prevent false positives
These leading characters are most commonly associated with number, currency or accounting (or occasionally fraction) formats

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@61632 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-28 15:53:49 +00:00
Mark Baker 3f807a1c01 Bugfix: Workitem 14223 - Advanced Value Binder Not Working?
Fixed AdvancedValueBinder date handling (with support for a wider range of date formats), and added support for strings containing numeric values in scientific format (e.g. "-1.234e+5")

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60740 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-10 14:57:07 +00:00
Maarten Balliauw 509f27e5c6 Migration from off-site Subversion repository (part 1).
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@59884 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-08-26 19:14:53 +00:00