Jump to content
Korean Random
Sign in to follow this  
Maggz

BUG in clock format 12 hr macro

Recommended Posts

ok I have been testing the 12hr format option in the clock in hangar, I am getting some odd results, if it is for example 00:01 - 00:59 the macro {{H}} produces result 0:01 -0:59. is there something I am missing as far as a replacement string? This couldn't have been the intended design of this function and/or macro could it have been?

Share this post


Link to post

Short link
Share on other sites

 

 

I wonder if formatting rules apply to clock and you should force leading zero too?
Yes, they do. 

 

{{H%2.2d}}
mine is {{h%02d}}:{{m%02d}}:{{s%02d}}
Some of these should work properly :)

Share this post


Link to post

Short link
Share on other sites

Nixxie I can force a leading 0 but still, it does not relay 12AM (midnight) as being 12am, it shows it as 00:00, which should not be the default for a 12 hr formatted clock.

Share this post


Link to post

Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...