diff options
-rw-r--r-- | FS/FS/cust_pay.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_pay.pm b/FS/FS/cust_pay.pm index d592313f8..1932268ff 100644 --- a/FS/FS/cust_pay.pm +++ b/FS/FS/cust_pay.pm @@ -183,7 +183,7 @@ sub insert { 'to' => \@invoicing_list, 'subject' => 'Payment receipt', 'body' => $receipt_template->fill_in( HASH => { - 'date' => str2time("%a %B %o, %Y", $self->_date), + 'date' => time2str("%a %B %o, %Y", $self->_date), 'paynum' => $self->paynum, 'paid' => $self->paid, 'payby' => ucfirst(lc($self->payby)), |