OSD Date time not showing AM in 12 hour format

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.

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

Thanks,

Yugandhar

Hi @yugandhar

Please replace libispfeature.a in project\realtek_amebapro2_v0_example\GCC-RELEASE\application\output folder and try again.

libispfeature.zip (375.9 KB)

Hi @pammyleong ,

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?

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

Hi @pammyleong ,

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.

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.

1 Like