Dotclear


Ignore:
Timestamp:
10/06/13 14:35:08 (12 years ago)
Author:
Nicolas <nikrou77@…>
Branch:
default
Message:

Add fixes when using %e modifier for windows dates.
Closes #1714, closes #1744

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/blog_pref.php

    r2223 r2295  
    6767# Date format combo 
    6868$now = time(); 
    69 $date_formats = array('%G-%m-%d', '%m/%d/%G', '%d/%m/%G', '%G/%m/%d','%d.%m.%G', '%b %e %G', '%e %b %G', '%G %b %e', 
    70 '%a, %G-%m-d', '%a, %m/%d/%G', '%a, %d/%m/%G', '%a, %G/%m/%d', '%B %e, %G', '%e %B, %G', '%G, %B %e', '%e. %B %G', 
    71 '%A, %B %e, %G', '%A, %e %B, %G', '%A, %G, %B %e','%A, %G, %B %e', '%A, %e. %B %G'); 
    72 $time_formats = array('%H:%M','%I:%M','%l:%M', '%Hh%M', '%Ih%M', '%lh%M'); 
     69$date_formats = unserialize($blog_settings->system->date_formats); 
     70$time_formats = unserialize($blog_settings->system->time_formats); 
    7371$date_formats_combo = array('' => ''); 
    7472foreach ($date_formats as $format) { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map