Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
Remove time tag entirely
Browse files Browse the repository at this point in the history
  • Loading branch information
ry061521 committed Jun 27, 2023
1 parent 216031c commit f69ec5c
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ const ResultTimeHeaderCell = (props) => {
{...customProps}
className={timeHeaderCellClassnames}
>
<time className={dateClassnames}>{date}</time>
<time className={cx('time')}>{time}</time>
<div className={dateClassnames}>{date}</div>
<div className={cx('time')}>{time}</div>
</th>
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,100 +4,100 @@ exports[`ResultTimeHeaderCell correctly applies the theme context className 1`]
<th
className="clinical-result-time-header-cell padding-compact orion-fusion-theme"
>
<time
<div
className="date"
>
December 31st 1999
</time>
<time
</div>
<div
className="time"
>
10:00 PM
</time>
</div>
</th>
`;

exports[`ResultTimeHeaderCell paddingStyle - should render with compact 1`] = `
<th
className="clinical-result-time-header-cell padding-compact"
>
<time
<div
className="date"
>
December 31st 1999
</time>
<time
</div>
<div
className="time"
>
10:00 PM
</time>
</div>
</th>
`;

exports[`ResultTimeHeaderCell paddingStyle - should render with none 1`] = `
<th
className="clinical-result-time-header-cell"
>
<time
<div
className="date"
>
December 31st 1999
</time>
<time
</div>
<div
className="time"
>
10:00 PM
</time>
</div>
</th>
`;

exports[`ResultTimeHeaderCell paddingStyle - should render with standard 1`] = `
<th
className="clinical-result-time-header-cell padding-standard"
>
<time
<div
className="date"
>
December 31st 1999
</time>
<time
</div>
<div
className="time"
>
10:00 PM
</time>
</div>
</th>
`;

exports[`ResultTimeHeaderCell should hide date 1`] = `
<th
className="clinical-result-time-header-cell padding-compact"
>
<time
<div
className="date hide-date"
>
December 31st 1999
</time>
<time
</div>
<div
className="time"
>
10:00 PM
</time>
</div>
</th>
`;

exports[`ResultTimeHeaderCell should render a date and time 1`] = `
<th
className="clinical-result-time-header-cell padding-compact"
>
<time
<div
className="date"
>
December 31st 1999
</time>
<time
</div>
<div
className="time"
>
10:00 PM
</time>
</div>
</th>
`;

0 comments on commit f69ec5c

Please sign in to comment.