# Can't get time to show without leading zero

**URL:** <https://community.weweb.io/t/cant-get-time-to-show-without-leading-zero/21207>\
**Category:** Ask us anything\
**Tags:** bug\
**Created:** [May 16, 2026, 9:55pm UTC](https://community.weweb.io/t/cant-get-time-to-show-without-leading-zero/21207 "2026-05-16T21:55:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SynopsisLabs](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@SynopsisLabs](https://community.weweb.io/u/SynopsisLabs)\
**Post date:** [May 16, 2026, 9:55pm UTC](https://community.weweb.io/t/cant-get-time-to-show-without-leading-zero/21207/1 "2026-05-16T21:55:47Z")

</div>

Hi,

I am trying to format a date to get it in this format - 16-May-2026 5:49 PM. As far as I understand it should be DD-MMM-YYYY h:mm A.

When I do that I get the following -

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/3X/c/b/cb1e7d2008e66910ccceade1782417cdd71e7bec.png)

I tried it in AI and got the same result.

Would appreciate any assistance.

Thanks  
Steve

---

<div class="post-metadata">

**Author:** ![jptrinh](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/jptrinh/32/1493_2.png) [@jptrinh](https://community.weweb.io/u/jptrinh)\
**Post date:** [May 17, 2026, 7:11pm UTC](https://community.weweb.io/t/cant-get-time-to-show-without-leading-zero/21207/2 "2026-05-17T19:11:49Z")

</div>

Hey there,  
Looks like a bug of the WeWeb date formula 🤔  
If you use the formula of the Date plugin instead, it works!

 ![CleanShot 2026-05-17 at 21.11.07](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/3X/1/b/1bb4bad9783a4ae19d7ebed85bca966709c4c0ca.png)

---

<div class="post-metadata">

**Author:** ![rivan\_sigarlaki](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/rivan_sigarlaki/32/13620_2.png) [@rivan\_sigarlaki](https://community.weweb.io/u/rivan_sigarlaki)\
**Post date:** [May 18, 2026, 3:20pm UTC](https://community.weweb.io/t/cant-get-time-to-show-without-leading-zero/21207/3 "2026-05-18T15:20:01Z")

</div>

Hello guys @SynopsisLabs & @jptrinh thanks for flagging this. It is indeed a bug, our team is fixing asap.
