Skip to content

Commit

Permalink
bug fix and test
Browse files Browse the repository at this point in the history
  • Loading branch information
kiley-mitti committed May 6, 2024
1 parent 4c58f6f commit ebc2f01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,9 @@ export class RuxRuler {
)
}
)}
{this.showStartOfDay && this.firstNewDay
{this.showStartOfDay &&
this.interval === 'hour' &&
this.firstNewDay
? this.getPartialDay()
: null}
</div>
Expand Down
4 changes: 2 additions & 2 deletions packages/web-components/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
has-played-indicator="false"
timezone="America/New_York"
start="2021-02-01T00:00:00.000Z"
end="2021-02-03T01:00:00.000Z"
end="2021-03-03T01:00:00.000Z"
playhead="2021-02-02T00:00:00.000Z"
interval="hour"
zoom="4"
Expand Down Expand Up @@ -285,7 +285,7 @@
const currenttz = document.querySelector('#currentTimezone')
currenttz.textContent = timeline.getAttribute('timezone')

let zoomLevel = 2
let zoomLevel = 4
let zoomLevel2 = 4
input.value = zoomLevel
input2.value = zoomLevel2
Expand Down

0 comments on commit ebc2f01

Please sign in to comment.