mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
[hotfix] using UTC for caching timestamps
This commit is contained in:
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user