format date
mariohifi - December 22, 2007 - 17:04
| Project: | Upload Image |
| Version: | 5.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | mariohifi |
| Status: | closed |
Jump to:
Description
I am trying the image upload form and I discovered that in the related nodes (nodes images) date is not properly formatted. I solved by changing the following line (183):
$image->date = format_date(strtotime('now'));
with this one:
$image->date = format_date($node->created, 'custom', 'Y-m-d H:i:s O');
in the upload_image_module
Thanks for this very useful module.

#1
Automatically closed -- issue fixed for two weeks with no activity.
#2
had the same error. I fixed all wrong datesets in the Database using this SQL statement:
Update node a, node b SET a.created = b.changed WHERE a.nid = b.nid AND a.created = -1