Changeset 3918 in subversion


Ignore:
Timestamp:
Aug 29, 2010 3:06:20 AM (3 years ago)
Author:
alec
Message:
  • Fix timezone string in sent mail (#1486961)
Location:
trunk/roundcubemail
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/CHANGELOG

    r3917 r3918  
    1616- Display inline images with known extensions and non-image content-type (#1486934) 
    1717- Fix "Threaded" checkbox after subfolder creation (#1486928) 
     18- Fix timezone string in sent mail (#1486961) 
    1819 
    1920RELEASE 0.4 
  • trunk/roundcubemail/program/steps/mail/func.inc

    r3916 r3918  
    16031603  $date = time() + $tz * 60 * 60; 
    16041604  $date = gmdate('r', $date); 
    1605   $date = preg_replace('/[+-][0-9]{4}$/', sprintf('%+05d', $tz * 100), $date); 
     1605  $tz   = sprintf('%+05d', intval($tz) * 100 + ($tz - intval($tz)) * 60); 
     1606  $date = preg_replace('/[+-][0-9]{4}$/', $tz, $date); 
    16061607 
    16071608  return $date; 
Note: See TracChangeset for help on using the changeset viewer.