Hi all,
Is there any way to make TW treat a user-defined field as a timestamp, like 
it does for the built-in "created" and "modified" fields?

My use case is that I want to capture timestamps of other events (besides 
creation and modification), and be able to perform Date-related 
calculations against them.  Closest I've come so far is saving a string in 
same format as it uses for "modified", and writing a custom filter operator 
which calls $tw.Tiddler.fieldModules.modified.parse() to convert string to 
Date object.  It works, but I feel like it would be cleaner if I could just 
check whether it's a Date already, and ignore everything else...

Thanks,
Nutt

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ccb0daf1-77db-446f-a4c4-8c3e5bb74f72%40googlegroups.com.

Reply via email to