projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2feb4a0
)
UpdateCurrencyRate.php
author
Edward
<edward@roojs.com>
Mon, 20 Oct 2014 07:25:55 +0000
(15:25 +0800)
committer
Edward
<edward@roojs.com>
Mon, 20 Oct 2014 07:25:55 +0000
(15:25 +0800)
UpdateCurrencyRate.php
patch
|
blob
|
history
diff --git
a/UpdateCurrencyRate.php
b/UpdateCurrencyRate.php
index
64ed0b3
..
8e82dd5
100644
(file)
--- a/
UpdateCurrencyRate.php
+++ b/
UpdateCurrencyRate.php
@@
-30,8
+30,6
@@
class Pman_Core_UpdateCurrencyRate extends Pman
function get()
{
- print_r(date('m/d/y', strtotime("-6 MONTH")));exit;
-
echo "obtain the currency lists... \n";
$currency = array();
@@
-61,7
+59,7
@@
class Pman_Core_UpdateCurrencyRate extends Pman
$params = array(
'lang' => 'en',
'result' => 1,
- 'date1' =>
'10/14/14'
,
+ 'date1' =>
date('m/d/y', strtotime("-6 MONTH"))
,
'date'=> date('m/d/y'),
'date_fmt' => 'us',
'exch' => 'CNY',