Jump to content


Photo

"Insert Time" Format


  • Please log in to reply
2 replies to this topic

#1 Batmosphere

Batmosphere

    Member

  • Members
  • Pip
  • 6 posts

Posted 29 May 2004 - 10:13 PM

When the hour is a single digit and I insert the time from the Shorthand Glossary, it appends a leading zero, like this: 08:11 PM. Is there a way to omit that?

#2 Ross29

Ross29

    Member

  • Members
  • Pip
  • 5 posts

Posted 29 May 2004 - 10:40 PM

In the expansion window I use:

?%1I:%M%p?

It does not use the leading zero

#3 Evan Gross

Evan Gross

    Administrator

  • Admin
  • PipPipPip
  • 2,991 posts
  • Gender:Male
  • Location:Toronto, Canada
  • Interests:This Place!

Posted 29 May 2004 - 11:09 PM

When the hour is a single digit and I insert the time from the Shorthand Glossary, it appends a leading zero, like this: 08:11 PM. Is there a way to omit that?

Like Ross29 says, you need to make a custom date/time format.

Visit Spell Catcher Preferences, Spelling pane, Date/Time tab, add a new format, but where you don't want a leading zero to appear use %1I (other specifiers take %1 as well).

Open Terminal, type:

man strftime

for a list of (pretty much the same) format specifiers that are available to you.

It's easiest to build them up by clicking the Date/Time Specifiers in the matrix at the bottom of the window, then do any tweaks you need afterwards.

As always, hover the mouse for help tags.