Changeset ea090ca in github
- Timestamp:
- Apr 17, 2008 4:05:58 PM (5 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 653242c
- Parents:
- f294da0
- Files:
-
- 3 edited
-
CHANGELOG (modified) (1 diff)
-
program/include/main.inc (modified) (1 diff)
-
program/steps/mail/func.inc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CHANGELOG
r1578816 rea090ca 6 6 - Fix IMAP response in message body when message has no body (#1484964) 7 7 - Updated PEAR::Auth_SASL to 1.0.2 8 - Fix non-RFC dates formatting (#1484901) 8 9 9 10 2008/04/16 (estadtherr) -
program/include/main.inc
r3d35312 rea090ca 1508 1508 1509 1509 $ts = NULL; 1510 1510 1511 1511 if (is_numeric($date)) 1512 1512 $ts = $date; 1513 1513 else if (!empty($date)) 1514 $ts = @strtotime($date); 1515 1514 { 1515 while (($ts = @strtotime($date))===false) 1516 { 1517 // if we have a date in non-rfc format 1518 // remove token from the end and try again 1519 $d = explode(' ', $date); 1520 array_pop($d); 1521 if (!$d) break; 1522 $date = implode(' ', $d); 1523 } 1524 } 1525 1516 1526 if (empty($ts)) 1517 1527 return ''; -
program/steps/mail/func.inc
rd7a411f rea090ca 971 971 972 972 if ($hkey=='date' && !empty($headers[$hkey])) 973 $header_value = format_date( strtotime($headers[$hkey]));973 $header_value = format_date($headers[$hkey]); 974 974 else if (in_array($hkey, array('from', 'to', 'cc', 'bcc', 'reply-to'))) 975 975 $header_value = Q(rcmail_address_string($headers[$hkey], NULL, $attrib['addicon']), 'show'); … … 1501 1501 "\t" . rcube_label("to") . ': ' . rcube_imap::decode_mime_string($message['headers']->to, $message['headers']->charset) . "\r\n" . 1502 1502 "\t" . rcube_label("subject") . ': ' . $message['subject'] . "\r\n" . 1503 "\t" . rcube_label("sent") . ': ' . format_date( strtotime($message['headers']->date), $CONFIG['date_long']) . "\r\n" .1503 "\t" . rcube_label("sent") . ': ' . format_date($message['headers']->date, $CONFIG['date_long']) . "\r\n" . 1504 1504 "\r\n" . rcube_label("receiptnote") . "\r\n"; 1505 1505
Note: See TracChangeset
for help on using the changeset viewer.
