# OSD Date time not showing AM in 12 hour format

**URL:** <https://forum.amebaiot.com/t/osd-date-time-not-showing-am-in-12-hour-format/4551>\
**Category:** SDK\
**Tags:** rtl8735b\
**Created:** [November 24, 2025, 12:20pm UTC](https://forum.amebaiot.com/t/osd-date-time-not-showing-am-in-12-hour-format/4551 "2025-11-24T12:20:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![yugandhar](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/yugandhar/32/2836_2.png) [@yugandhar](https://forum.amebaiot.com/u/yugandhar)\
**Post date:** [November 24, 2025, 12:20pm UTC](https://forum.amebaiot.com/t/osd-date-time-not-showing-am-in-12-hour-format/4551/1 "2025-11-24T12:20:43Z")

</div>

Hi,

When used **12 hour date time format in OSD** , The time with AM e.g., **03:43:56AM** never shown.

When time moving from **11:59:59PM** the expected is **12:00:00AM** , but showing **00:00:00PM**. Please check the attached images.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/ameba/original/2X/3/3af07be68daaee5c0a5c372c31c58330acbed4e1.jpeg)

 ![image](https://us1.discourse-cdn.com/flex016/uploads/ameba/original/2X/0/00d6a55e70b0a76ebf4ea762b3dd63a4672a94ca.jpeg)

If anybody faced and fixed this issue, please provide your valuable suggestions.

Thanks,

Yugandhar

---

<div class="post-metadata">

**Author:** ![Pammy](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/pammy/32/936_2.png) [@Pammy](https://forum.amebaiot.com/u/Pammy)\
**Post date:** [November 25, 2025, 9:02am UTC](https://forum.amebaiot.com/t/osd-date-time-not-showing-am-in-12-hour-format/4551/2 "2025-11-25T09:02:38Z")

</div>

Hi @yugandhar

Please replace `libispfeature.a` in project\realtek\_amebapro2\_v0\_example\GCC-RELEASE\application\output folder and try again.

[libispfeature.zip](https://forum.amebaiot.com/uploads/short-url/ggmf6Dc9rxde7lNqVWzkyOmazWi.zip) (375.9 KB)

---

<div class="post-metadata">

**Author:** ![yugandhar](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/yugandhar/32/2836_2.png) [@yugandhar](https://forum.amebaiot.com/u/yugandhar)\
**Post date:** [November 25, 2025, 11:15am UTC](https://forum.amebaiot.com/t/osd-date-time-not-showing-am-in-12-hour-format/4551/3 "2025-11-25T11:15:45Z")

</div>

Hi @Pammy ,

With provided lib I am getting AM in time OSD, but not with latest lib in Github, why?

Are you going to push this lib to Github?

---

<div class="post-metadata">

**Author:** ![Pammy](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/pammy/32/936_2.png) [@Pammy](https://forum.amebaiot.com/u/Pammy)\
**Post date:** [November 26, 2025, 1:37am UTC](https://forum.amebaiot.com/t/osd-date-time-not-showing-am-in-12-hour-format/4551/4 "2025-11-26T01:37:50Z")

</div>

Hi @yugandhar

The necessary change has to be made in `osd_api.c`, but this file is not open-sourced at the moment. Updating it on GitHub will take some time, so this workaround is provided to help you continue your work for now.

If you do not wish to display AM/PM, kindly use `osd_time_fmt_12`

---

<div class="post-metadata">

**Author:** ![yugandhar](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/yugandhar/32/2836_2.png) [@yugandhar](https://forum.amebaiot.com/u/yugandhar)\
**Post date:** [December 4, 2025, 5:51am UTC](https://forum.amebaiot.com/t/osd-date-time-not-showing-am-in-12-hour-format/4551/5 "2025-12-04T05:51:43Z")

</div>

Hi @Pammy ,

If I use **latest Github code** with the shared **libispfeature.a** by you, will it create any other problems due to version or API mismatch? because the libs has different file size.

---

<div class="post-metadata">

**Author:** ![Pammy](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/pammy/32/936_2.png) [@Pammy](https://forum.amebaiot.com/u/Pammy)\
**Post date:** [December 4, 2025, 6:34am UTC](https://forum.amebaiot.com/t/osd-date-time-not-showing-am-in-12-hour-format/4551/6 "2025-12-04T06:34:11Z")

</div>

Hi @yugandhar

No, it won’t cause any issues, as I did not add or remove any API in the SDK. Basically, I just modified the logic for the 12H format.

We will be updating the GitHub code soon.
