Piwigo Bugtracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000900Piwigonavigationpublic2008.11.09 13:592008.11.09 22:47
Reportergrum 
Assigned Torub 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version2.0.0RC4 
Summary0000900: format_date function doesn't work when time is omitted with 'mysql_datetime' type
DescriptionWhen thumbnails pages are made (in the category_default.inc.php) fields are filled for template-extension usage.

Two fields in the database are in the 'yyyy-mm-dd' format [date_metadata_update & date_creation] and format_date function is called with a 'mysql_datetime' format value (so, date have to be 'yyyy-mm-dd hh:mm:ss')

This made warnings : "Notice: Undefined offset: 1 in /xxxxxx/include/functions.inc.php on line 604"


TagsNo tags attached.
browserany
Database engine and version
PHP version
Web serverApache 1.3.x
Attached Files

- Relationships

-  Notes
(0002462)
grum (administrator)
2008.11.09 15:37

Call made in the category_default.inc.php file is corrected with the commit 2853 (use of the 'us' type according with the dates format)


Do we have to make stronger tests in the format_date function ?
(0002463)
rub (developer)
2008.11.09 22:18

error become from [Subversion] r2840

We can introduce type 'mysql_date'?
(0002464)
rub (developer)
2008.11.09 22:47

[Subversion] r2850 & [Subversion] r2853 & [Subversion] r2856 & [Subversion] r2857

- Issue History
Date Modified Username Field Change
2008.11.09 13:59 grum New Issue
2008.11.09 13:59 grum browser => any
2008.11.09 13:59 grum Web server => Apache 1.3.x
2008.11.09 15:37 grum Note Added: 0002462
2008.11.09 22:18 rub Note Added: 0002463
2008.11.09 22:47 rub Status new => assigned
2008.11.09 22:47 rub Assigned To => rub
2008.11.09 22:47 rub Status assigned => closed
2008.11.09 22:47 rub Note Added: 0002464
2008.11.09 22:47 rub Resolution open => fixed
2008.11.09 22:47 rub Fixed in Version => 2.0.0RC4


Copyright © 2000 - 2015 MantisBT Team
Contact
Powered by Mantis Bugtracker