projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fec5bf4
)
UpdateCurrencyRate.php
author
Edward
<edward@roojs.com>
Mon, 20 Oct 2014 08:52:06 +0000
(16:52 +0800)
committer
Edward
<edward@roojs.com>
Mon, 20 Oct 2014 08:52:06 +0000
(16:52 +0800)
UpdateCurrencyRate.php
patch
|
blob
|
history
diff --git
a/UpdateCurrencyRate.php
b/UpdateCurrencyRate.php
index
fc37c1f
..
29188e6
100644
(file)
--- a/
UpdateCurrencyRate.php
+++ b/
UpdateCurrencyRate.php
@@
-101,8
+101,8
@@
class Pman_Core_UpdateCurrencyRate extends Pman
$curr->setFrom(array(
'rate' => $rate,
- 'from' => date('Y-m-d H:i:s', strtotime($fromDate)),
- 'to' => date('Y-m-d H:i:s', strtotime($toDate))
+ 'from
_dt
' => date('Y-m-d H:i:s', strtotime($fromDate)),
+ 'to
_dt
' => date('Y-m-d H:i:s', strtotime($toDate))
));
(empty($o)) ? $curr->insert() : $curr->update($o);