generated from opensafely-core/repo-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Render DateDifference elements with other related series
DateDifference nodes are not themselves a Series. However, we render them as the repr of their .days method, which IS a Series. In order to determine whether a DateDifference is related to other debugged elements, we need to compare it as days. We also need to evaluate a DateDifference as days before turning it related records with other Series, and we keep track of the indices of the DateDiff elements so that we can show them as "N days" in the tables as we do for individual formatted columns.
- Loading branch information
Showing
2 changed files
with
59 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters