How do you display time of day in dates only if it is specified?

resolved

#1

I find it a bit hard to parse dates such as “in four days” (because I prefer to have displayed what day of the week that is), so I turned on a custom date display option.

However, I’ve only figured out how to either:

  • always display a time of day for every date, including 12:00am by default when no time is specified
  • never display a time of day, even when it’s specified

The default setting displays time of day, but only when it’s explicitly specified, so this must be possible. How can I do it as a custom setting? I took a look at the documentation, but didn’t see how to accomplish this with the “tokens” I read about.


#2

I have to admit that it’s not doable with the token string, as you mentioned.

It would be hard even if we offer an option called “Only show time when it’s available”, since we’ll need to parse your custom format. For example, if your format is dddd, MMMM Do YYYY, h:mm:ss a, Dynalist need to understand that h:mm:ss a is the time part and should be removed if there’s no time.

The easiest would be just to have two fields, one for the full format (when there’s time), and another for the day format (when there’s no time).


#3

I see. I would definitely use both fields if they existed!