Datetime BUG corrected
This commit is contained in:
1 parent
eb106f30a3
commit
f234a5f3df
2 files changed
+2
-2
No files matched your search
@@ -41,7 +41,7 @@
|
||||
thisObject.container.name = 'Layers @ ' + exchange + ' ' + market.assetB + '/' + market.assetA
|
||||
thisObject.container.frame.containerName = thisObject.container.name
|
||||
thisObject.container.frame.width = UI_PANEL.WIDTH.LARGE
|
||||
thisObject.container.frame.height = viewPort.visibleArea.bottomLeft.y - viewPort.visibleArea.topLeft.y // UI_PANEL.HEIGHT.LARGE;
|
||||
thisObject.container.frame.height = UI_PANEL.HEIGHT.LARGE // viewPort.visibleArea.bottomLeft.y - viewPort.visibleArea.topLeft.y // UI_PANEL.HEIGHT.LARGE;
|
||||
|
||||
var position = {
|
||||
x: viewPort.visibleArea.topLeft.x,
|
||||
|
||||
+1
-1
@@ -178,7 +178,7 @@ to be visible at the top of the viewPort. */
|
||||
y: point1.y - viewPort.margins.TOP
|
||||
}
|
||||
|
||||
let date = getDateFromPoint(point, thisObject.container, timeLineCoordinateSystem)
|
||||
let date = getDateFromPoint(point, thisObject.container.parentContainer, timeLineCoordinateSystem)
|
||||
date = new Date(date)
|
||||
|
||||
let label = date.toUTCString()
|
||||
|
||||
Reference in new issue
Block a user