# Chapter 02 - Births and Dates swapped in display

**URL:** <https://forums.kodeco.com/t/chapter-02-births-and-dates-swapped-in-display/207086>\
**Category:** macOS by Tutorials\
**Created:** [October 31, 2024, 7:30pm UTC](https://forums.kodeco.com/t/chapter-02-births-and-dates-swapped-in-display/207086 "2024-10-31T19:30:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![oleamichael](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/oleamichael/32/110937_2.png) [@oleamichael](https://forums.kodeco.com/u/oleamichael)\
**Post date:** [October 31, 2024, 7:30pm UTC](https://forums.kodeco.com/t/chapter-02-births-and-dates-swapped-in-display/207086/1 "2024-10-31T19:30:50Z")

</div>

Hi. This happens both in my code and in the provided Final and Challenge versions of On This Day - when I click on Births in the sidebar I get deaths in the detail view, and when I click on Deaths in the sidebar I get births in the detail view. I thought this would be easy to track down, but so far no luck:

 ![Screenshot 2024-10-31 at 12.22.41 PM](https://files.chunter.kodeco.com/original/3X/7/9/79a9eef5d5374670074b8e2d1824a5d19a229031.jpeg)

---

<div class="post-metadata">

**Author:** ![oleamichael](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/oleamichael/32/110937_2.png) [@oleamichael](https://forums.kodeco.com/u/oleamichael)\
**Post date:** [October 31, 2024, 7:38pm UTC](https://forums.kodeco.com/t/chapter-02-births-and-dates-swapped-in-display/207086/2 "2024-10-31T19:38:50Z")

</div>

Oh, I see - it comes that way from the website. I guess when you ask for births on this day you already know the birthday, so the associated text provides the date of death, and vice versa for deaths.

---

<div class="post-metadata">

**Author:** ![sarah](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/sarah/32/111112_2.png) [@sarah](https://forums.kodeco.com/u/sarah)\
**Post date:** [November 1, 2024, 4:59am UTC](https://forums.kodeco.com/t/chapter-02-births-and-dates-swapped-in-display/207086/3 "2024-11-01T04:59:25Z")

</div>

That’s it. If you ever want to check the raw data, use the playground from chapter 1 and change the date to whatever you’re interested it. That saves the JSON to your Downloads folder so you can read it and confirm you’re seeing the correct events.
