Piwigo Bugtracker

Viewing Issue Advanced Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000900 [Piwigo] navigation minor always 2008.11.09 13:59 2008.11.09 22:47
Reporter grum View Status public  
Assigned To rub
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 2.0.0RC4 Product Version
  Target Version Product Build 2849
Summary 0000900: format_date function doesn't work when time is omitted with 'mysql_datetime' type
Description When 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"


Steps To Reproduce
Additional Information
Tags No tags attached.
browser any
Database engine and version
PHP version
Web server Apache 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


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Contact
Powered by Mantis Bugtracker