Auto changing AM to PM in Title of new journal tiddlers - Problem

51 views
Skip to first unread message

Bartosz Krukowski

unread,
Oct 12, 2017, 1:42:07 PM10/12/17
to tiddl...@googlegroups.com
Hi.

I have problem with auto changin AM to PM  in Title of new journal tiddlers.

I formated Title of new journal tiddlers : YYYY-MM-DD - 0hh:0mm:0ss $(currentTiddler)$ 
When i make new journal from tiddler "Test Tiddler" its make 2017-10-12 - 19:39:13 Test Tiddler <- this is corret,
but if in tiddler title is word AM its converting it to PM...
example:
tiddler "PM AM am pm Jam jam JAM" make "2017-10-12 - 19:41:22 PM PM pm pm Jpm jpm JPM"
How to stop this auto conversion?

PMario

unread,
Oct 12, 2017, 3:47:37 PM10/12/17
to TiddlyWiki
Hi,

That's a known problem, with no easy fix. ... I did introduce a hack, which may help you. ... BUT ... no easy fix.


have fun!
mario

Mark S.

unread,
Oct 12, 2017, 11:19:23 PM10/12/17
to TiddlyWiki
You can try this. You put just the format part into $:/config/NewJournal/Format and configure everything else like usual. This assumes you want the date to be first. A more robust solution would allow you to configure where you want the date to be. Oh well. For now, you can just edit $:/core/ui/Buttons/new-journal-here and flip the values in the first macro at the top if you want the title before the date.

Mark
P.S. Be sure to back up.
new-new-journal-here.json

Bartosz Krukowski

unread,
Oct 13, 2017, 12:42:12 AM10/13/17
to TiddlyWiki
Thanks for showing me github tread, and sugesting solution. 
I will try it soon as I can.
Reply all
Reply to author
Forward
0 new messages