OSDN Git Service
(root)
/
bytom
/
Bytom-Dapp-Demo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a3ecec
)
update the time formate to local time format.
author
Zhiting Lin
<zlin035@uottawa.ca>
Fri, 15 Feb 2019 07:55:18 +0000
(15:55 +0800)
committer
Zhiting Lin
<zlin035@uottawa.ca>
Fri, 15 Feb 2019 07:55:18 +0000
(15:55 +0800)
src/components/layout/account/index.jsx
patch
|
blob
|
history
diff --git
a/src/components/layout/account/index.jsx
b/src/components/layout/account/index.jsx
index
590530c
..
7734d6f
100644
(file)
--- a/
src/components/layout/account/index.jsx
+++ b/
src/components/layout/account/index.jsx
@@
-57,7
+57,7
@@
class Account extends Component {
list.push( <tr key={'record'+i}>
<th scope="row">{i}</th>
<td>{re.amount}</td>
- <td>{new Date(re.create_at * 1000).to
UTC
String()}</td>
+ <td>{new Date(re.create_at * 1000).to
Locale
String()}</td>
</tr>)
}
)