projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63bf090
)
DataObjects/Core_mailing_list_message.php
author
Edward
<edward@roojs.com>
Thu, 20 Feb 2014 10:39:34 +0000
(18:39 +0800)
committer
Edward
<edward@roojs.com>
Thu, 20 Feb 2014 10:39:34 +0000
(18:39 +0800)
DataObjects/Core_mailing_list_message.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_mailing_list_message.php
b/DataObjects/Core_mailing_list_message.php
index
c5244f6
..
5e71d69
100644
(file)
--- a/
DataObjects/Core_mailing_list_message.php
+++ b/
DataObjects/Core_mailing_list_message.php
@@
-350,6
+350,11
@@
Content-Disposition: inline; filename={$imgfn}
return '"' . addslashes($this->from_name) . '" <' . $this->from_email. '>' ;
}
+ function formatDate($dt, $format = 'd/M/Y')
+ {
+ return date($format, strtotime($dt));
+ }
+
}