ISO date format, especially for journal entry headings?

30 views
Skip to first unread message

Johann Petrak

unread,
Aug 20, 2007, 7:31:23 PM8/20/07
to TiddlyWiki
Every time I create a new journal I have to change the default title
from something like "12 August 2007" to "2007-08-12" which is what I
am used to and which is also listed well sorted in the list of
entries.

Is there a way to make it so that the ISO date format is automatically
used there? Is there a way to show dates in ISO format at all other
locations within a TiddlyWiki?

Simon Baird

unread,
Aug 20, 2007, 9:18:15 PM8/20/07
to Tiddl...@googlegroups.com
 
 
 
 
Ps, FND, how do I link to a macro name [[newJournal macro|NewJournal (macro)]] not working

 
--
simon...@gmail.com

Morris Gray

unread,
Aug 20, 2007, 9:21:50 PM8/20/07
to TiddlyWiki
Johann,

I use the date format "2007.08.21 at 11:20:40" in my Journal.

Go to http://tiddlyspot.com/twhelp/index.html#%5B%5BMacros%20Built-in%5D%5D
Or
http://tinyurl.com/ynr9p5

And look at the "today" and "newJournal" tabs and it will show you how
to format the date and time in the way you want.

Morris Gray
http://twhelp.tiddlyspot.com
A TiddlyWiki help file for beginners

> loations within a TiddlyWiki?

FND

unread,
Aug 21, 2007, 2:40:29 AM8/21/07
to Tiddl...@googlegroups.com
> Ps, FND, how do I link to a macro name [[newJournal macro|NewJournal
> (macro)]] not working

That's because MediaWiki's link syntax is reversed when compared to
TiddlyWiki's:
[[target|description]]
I keep forgetting that as well (sometimes I curse MediaWiki, at other
times it's TiddlyWiki's syntax I despise... )

I've fixed it.


-- F.

Simon Baird

unread,
Aug 21, 2007, 3:00:20 AM8/21/07
to Tiddl...@googlegroups.com
Oh boy, I actually knew that already. For some reason I was hung up on the round bracket chars being the cause of my problems. Sorry!

I've fixed it.
 
Thanks.. :)
 
I noticed that WikiCreole supports the mediawiki style on this one:
 
Of course it would be too much pain to adopt this link standard now wouldn't it???

FND

unread,
Aug 21, 2007, 3:17:28 AM8/21/07
to Tiddl...@googlegroups.com
> Oh boy, I actually knew that already. For some reason I was hung up on
> the round bracket chars being the cause of my problems. Sorry!

That's happened to me before; another one of those "d'oh" moments...

> I noticed that WikiCreole supports the mediawiki style on this one:
> http://www.wikicreole.org/wiki/Links
> Of course it would be too much pain to adopt this link standard now
> wouldn't it???

Well, considering that Martin is very much in favor of adhering to
WikiCreole's standards (suggestions?), I don't think this is such a bad
idea.
For backwards compatibility, there could be a LegacyPrettyLinksPlugin
(which would have to override the Creole syntax though).
Also, creating a simple plugin to update all PrettyLinks' syntax should
be simple with a tiny bit of RegEx magic (simply swap $0 and $1).

Since the PrettyLink syntax is being discussed anyway at the moment, I
think we might want to take this issue to [twdev]:
http://tinyurl.com/2osprc
(http://groups.google.com/group/TiddlyWikiDev/browse_thread/thread/c2a41e227a15725d)


-- F.

Martin Budden

unread,
Aug 21, 2007, 3:49:03 PM8/21/07
to Tiddl...@googlegroups.com
My CreoleFormatterPlugin:

http://www.martinswiki.com/#CreoleFormatterPlugin

adds support for [[link|title]] format links. It's got a bit of
intelligence built in to try and work out whether the link is of
[[link|title]] or [[title|link]] format.

And yes, I'd be in favour of changing the PrettyLink syntax to support
this, with a plugin that supports the old format. As a user of both
MediaWiki and TiddlyWiki I find myself getting mixed up quite often.

Martin

On 8/21/07, FND <Ace_...@gmx.net> wrote:
>

FND

unread,
Aug 22, 2007, 5:27:50 AM8/22/07
to Tiddl...@googlegroups.com
> And yes, I'd be in favour of changing the PrettyLink syntax to support
> this, with a plugin that supports the old format.

Great; so we should take this to [twdev] then:
http://tinyurl.com/ypuyzb
(http://groups.google.com/group/TiddlyWikiDev/browse_thread/thread/8e4889dbc861f0ef)

(Apologies to Johann for temporarily hijacking his thread here... )


-- F.

Reply all
Reply to author
Forward
0 new messages