Hi all,

I'm a long-time user, first-time writer.  And I recently upgraded my
TiddlyWiki from Classic to TW5 by using the online upgrade tool
<http://tiddlywiki.com/upgrade.html>.  Everything looked great - except
that some of my tiddlers mysteriously stopped displaying their timestamps.

I did some research and I think I've figured out the root of the problem
(please someone correct me if I'm wrong):

1) In TW Classic, a tiddler gets its "created" field and timestamp at the
moment when it is first saved.  It does not get a "modified" field and
timestamp unless you subsequently change its text and save the changes.  In
the river view, a tiddler is displayed with its "modified" timestamp unless
it lacks a "modified" field, in which case it's displayed with the
"created" timestamp.
2) In TW5, a tiddler is first "created" at the moment when its text box
first appears.  It gets a "modified" field and timestamp when it is first
saved.
3) The online upgrade tool doesn't seem aware of the difference between
behavior 1) and 2).  It keeps track of each tiddler's "created" and
"modified" fields.  But when a tiddler lacks a "modified" field (because it
was created in Classic and never modified after its initial save), TW5
displays the tiddler with no timestamp in the normal river view.

There's no real loss of information here, because the tiddlers store the
same data internally.  But the river display is misleading.  This doesn't
seem like intended behavior.

This could be fixed with a tool/plugin that copies the "created" field into
the "modified" field for all tiddlers that lack a "modified" field.  I know
enough about regular expressions to create a quick hacky version of this
fix for my own use, but I don't know any JavaScript so I should probably
not be the one to contribute public code.  It would be awesome if this fix
were part of the automated upgrade process.

Keep up the great work - I do love TiddlyWiki!

-- Josh

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CA%2Bk_dyUnY_%3DV0vGFX%3D1jG%2BsSOFUHeU5yjffAeVNBtAf9C_qTtA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to