Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default [Done v1.5.5f] date format fix suggestion in admin activity alert

    Long standing date format issue for us who use d-m-y instead of m-d-y
    admin/includes/init_includes/init_errors.php line 205
    Change 'm-d-Y' to DATE_FORMAT

    Change
    Code:
    $messageStack->add(WARNING_ADMIN_ACTIVITY_LOG_DATE . date('m-d-Y', strtotime($chk_admin_log->fields['access_date'])), 'caution');
    to
    Code:
    $messageStack->add(WARNING_ADMIN_ACTIVITY_LOG_DATE . date(DATE_FORMAT, strtotime($chk_admin_log->fields['access_date'])), 'caution');

  2. #2
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: date format fix suggestion in admin activity alert

    Would this also fix for those who use y-m-d ?

  3. #3
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: date format fix suggestion in admin activity alert

    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: date format fix suggestion in admin activity alert

    Quote Originally Posted by Website Rob View Post
    Would this also fix for those who use y-m-d ?
    Yes it does ..

  5. #5
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: date format fix suggestion in admin activity alert

    Thanks for the confirm.

 

 

Similar Threads

  1. Date format problem in Specials in Admin
    By markflickr in forum Basic Configuration
    Replies: 13
    Last Post: 9 Oct 2011, 02:13 PM
  2. Date format in Admin
    By wizer in forum Customization from the Admin
    Replies: 3
    Last Post: 3 Jun 2011, 02:40 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR