FACER Community

How to add a leading 0 but

How would I add a leading “0” to a 12h format but also have it able to be switched to 24h for those using imperial/metric faces?

I had thought I had found it until a user pointed this out. I went through the tags trying them all but none did this for me. Unless I just wanted to stick to the 12h format then I could not have a leading “0”.

  • W
1 Like

Hi
I use that one:
$#Db#>9?#Db#:0(#Db#)$

:slight_smile:

4 Likes

Commer’ Adrian, Let me give you a kiss! =)

Thanks, buddy!

  • W
1 Like

There are some quirks with leading Zeros but all is possible. Just means more layers sometimes. For it to be user selectable on the watch #Db# has to be in the design some where even if it is a hidden later. I see you are using #Db# any way. Well done you guys.

1 Like

Neat.

1 Like

Hiya Russ!
Well I’m going through all my faces and replacing the TAGs now… hehe ugh fun fun!

  • W
1 Like

I like a leading Zero on Digital. I have a thing with Symetry. Trouble is I can not remember that stuff so it is all in my saved Drafts and various folders and files. It is all getting tbe a bit of a mess. I think I am going to spend some time having a Tidy up I have an analogue face that is 12/24 hrs user selectable. So I had to learn the Hidden #Db# trick early on.

1 Like

Hey Russ, I am starting to also have a mess of files and faces that are just like Drafts that I have all of your guys’ strings and tags in. =P
Oh and yep I have to have a Leading Zero as well. =)

  • W
1 Like

One other thing I recomend is to duplicate your Drafts and publish that. If you ever get a Face Taken down for Copyright Infringement you still have it. They often get taken down because of something in the description like Zenith and Ladybird. Also if you bring the Publication Back and Rework it the revised File name will not update in the apps or Watch Box and it gets a bit confusing. Any way Enjoy.

1 Like

Yep Russ, I am keeping the Main Draft of most my new faces. I had my power go out a couple of times too while in the middle of working on some faces and so I started saving drats. =)

  • W
1 Like