Hi to all
Can we change the Time field to 12-hour format pls point me in the right direction if any
Hello did you find a solution?
i also need that. did you find solution ?
If you are using it for print format to get 12 hr format
{{ frappe.utils.get_datetime().strftime(ā%I:%M %pā) }}
For folks coming here via search engine, need to use get_time rather
than get_datetime.
{{ frappe.utils.get_time().strftime("%I:%M %p") }}
Thanks to @rtdany10 on Telegram for helping me on this as wel!