summaryrefslogtreecommitdiffstats
path: root/ui/src/components/moment-time.tsx
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2019-04-08 20:28:07 -0700
committerDessalines <tyhou13@gmx.com>2019-04-08 20:28:07 -0700
commit7fa6631a13467e983e8e7d78d7897a86be322c50 (patch)
tree2523c3c591a7cc5718ef9bac21110dda7cbf4ff4 /ui/src/components/moment-time.tsx
parent4cfe9700892e85562c4f296be8c4c6f699f52710 (diff)
Adding versioning to front page.
- Fixes #51
Diffstat (limited to 'ui/src/components/moment-time.tsx')
-rw-r--r--ui/src/components/moment-time.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/components/moment-time.tsx b/ui/src/components/moment-time.tsx
index f07f04a3..b7402e7e 100644
--- a/ui/src/components/moment-time.tsx
+++ b/ui/src/components/moment-time.tsx
@@ -17,11 +17,11 @@ export class MomentTime extends Component<MomentTimeProps, any> {
render() {
if (this.props.data.updated) {
return (
- <span className="font-italics">modified {moment.utc(this.props.data.updated).fromNow()}</span>
+ <span title={this.props.data.updated} className="font-italics">modified {moment.utc(this.props.data.updated).fromNow()}</span>
)
} else {
return (
- <span>{moment.utc(this.props.data.published).fromNow()}</span>
+ <span title={this.props.data.published}>{moment.utc(this.props.data.published).fromNow()}</span>
)
}
}