mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2024-11-10 23:31:44 +00:00
Use localString to show date
This commit is contained in:
parent
022224ab7e
commit
e64bfd1b60
1 changed files with 1 additions and 1 deletions
|
@ -979,7 +979,7 @@ const CompletedGather = exports.CompletedGather = React.createClass({
|
||||||
completionDate() {
|
completionDate() {
|
||||||
let d = new Date(this.props.gather.done.time);
|
let d = new Date(this.props.gather.done.time);
|
||||||
if (d) {
|
if (d) {
|
||||||
return d.toLocaleTimeString();
|
return d.toLocaleString();
|
||||||
} else {
|
} else {
|
||||||
return "Completed Gather"
|
return "Completed Gather"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue