Skip to content

Commit

Permalink
remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
kiley-mitti committed May 7, 2024
1 parent 72a13a8 commit 84b791c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ export class RuxRuler {
timePattern = /^00:00+$/

shouldShowDate(time: string) {
console.log(time, this.timePattern.test(time))
if (!['hour', 'minute'].includes(this.interval)) {
return false
}
Expand Down
16 changes: 8 additions & 8 deletions packages/web-components/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,17 +194,17 @@
id="second"
has-played-indicator="false"
timezone="UTC"
start="2021-02-01T14:00:00.000Z"
end="2021-02-02T01:00:00.000Z"
playhead="2021-02-01T16:00:00.000Z"
start="2021-12-31T22:00:00.000Z"
end="2022-01-01T05:00:00.000Z"
playhead="2022-01-01T00:00:00.000Z"
interval="hour"
zoom="4"
show-grid
>
<rux-track>
<div slot="label">Region 1</div>
<rux-time-region
start="2021-02-01T01:00:00Z"
start="2021-12-31T22:00:00.000Z"
end="2021-02-01T02:00:00Z"
status="serious"
>
Expand All @@ -214,7 +214,7 @@
<rux-track>
<div slot="label">Region 2</div>
<rux-time-region
start="2021-02-01T10:00:00Z"
start="2021-12-31T22:00:00.000Z"
end="2021-02-01T12:00:00Z"
status="serious"
>
Expand All @@ -224,7 +224,7 @@
<rux-track>
<div slot="label">Region 3</div>
<rux-time-region
start="2021-02-01T00:00:00Z"
start="2021-12-31T22:00:00.000Z"
end="2021-02-02T02:00:00Z"
status="standby"
>
Expand All @@ -234,8 +234,8 @@
<rux-track>
<div slot="label">Region 4</div>
<rux-time-region
start="2021-02-01T03:00:00Z"
end="2021-02-02T04:33:00Z"
start="2021-12-31T23:10:00.000Z"
end="2022-01-01T00:00:00.000Z"
status="critical"
>
Event 4.1
Expand Down

0 comments on commit 84b791c

Please sign in to comment.