Author Topic: Bug Report 1.5 beta - Date displayed in Admin>Edit Images  (Read 6895 times)

0 Members and 1 Guest are viewing this topic.

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Bug Report 1.5 beta - Date displayed in Admin>Edit Images
« on: May 29, 2002, 03:46:04 AM »
This bug is reproducible.

Again I am referring to the 13 images I imported using the admin control panel "Check New Images".

From the 4images_images table, image_date = 1022222283
From 4images/details.php, the date displayed is:  05.24.2002 01:38
From Admin CP, "Edit Images", date displayed is:  2002-05-24 06:38:03
From ls -l at a Linux prompt, the file date is:  May 24 01:28

I don't think the date displayed in the Admin>Edit Images is correct.

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Bug Report 1.5 beta - Date displayed in Admin>Edit Images
« Reply #1 on: May 29, 2002, 09:25:03 AM »
Hi Chris,

strange...i tested it on several servers and for me the date is always displayed correctly.
But you have to know that if you add an image, the systems takes not the date the file is last modified how the linux prompt shows you. It takes the actual date because if a visitor clicks on "New images" he wants to the images who are new in the gallery. If you want to change this, no problem. But let me first release me the final version and ask me then again.

Greets Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Missed my point
« Reply #2 on: May 29, 2002, 11:27:05 PM »
I agree with you that the actual date should be used and not the file date.  That is not the bug.  The problem is the inconsistency in which 4images displayed it.

4images/details.php date displayed is: 05.24.2002 01:38
4images/admin/index.php date displayed is: 2002-05-24 06:38:03

It seems to me that the time displayed from Admin CP, "Edit Images" is wrong.  I uploaded the file and 10 minutes later I used "Check New Images" to import it.  So the time of 01:38 is actually correct.  But 06:38 is 5 hours off.

Hope this helps.

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Bug Report 1.5 beta - Date displayed in Admin>Edit Images
« Reply #3 on: May 30, 2002, 07:10:31 AM »
Do you edited the date and time format in the settings?

Greets Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
No change to date/time settings
« Reply #4 on: May 31, 2002, 01:02:35 AM »
Admin CP>Settings>

Format Of Date:  m.d.Y
Format Of Time:  H:i

Again, the edit image time displays differently from that show in the details.php page.


Also I will send you a PM for admin access.

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Bug Report 1.5 beta - Date displayed in Admin>Edit Images
« Reply #5 on: June 02, 2002, 09:02:52 AM »
Hi Chris,

do edited
Code: [Select]
define('TIME_OFFSET', '+1');
in "includes/constants.php"?

Grets Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Already there
« Reply #6 on: June 02, 2002, 06:46:26 PM »
Thanks, but that line

Code: [Select]
define('TIME_OFFSET', '+1');

is already inside includes/constants.php.  This bug is not important to me because the time is displayed correctly in the gallery detail pages.  As far as I am concerned, this can wait.