[hotfix] using UTC for caching timestamps

This commit is contained in:
Maxime Beauchemin
2017-04-17 16:45:50 +00:00
parent d6689ee700
commit 63785f039c
3 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ class CacheLabel extends React.PureComponent {
updateTooltipContent() {
const cachedText = this.props.cachedTimestamp ? (
<span>
Loaded data cached <b>{moment(this.props.cachedTimestamp).fromNow()}</b>
Loaded data cached <b>{moment.utc(this.props.cachedTimestamp).fromNow()}</b>
</span>) :
'Loaded from cache';