Folks,
I have being watching this discussion with interest but also with the
memory of past conversations. As can be seen the details behind dates and
calendars is complex. But I would like to reiterate some points from my
perspective;
- Don't mess with the current data fields tiddlers need created and
modified dates and times, having such dates and times helps with detecting
changes, lasts touched import batch and a lot more, reusing these dates
results in a loss of information and misuse of the way in which the system
makes use of them. #1
- Always use another field for extended of deep time dates
- I have also concluded and modified new journal to store the journal
date in a field so I need not do date gymnastics on a user friendly title
to list date ranges.
- Just using the html input tag for date allows you to enter many
different dates in a day (not time format) the day of week and validation
of leap years may not work
- `<$edit-text tiddler="test" field="text" tag=input type=date/>`
- Even these complex dates can be converted to tiddlywiki time dates
with some trivial string manipulation if relevant
- Sure perhaps we need to document of provide the tools for such extra
dates but I expect there is a library that's done the work, but please keep
it away from the standard tiddlywiki date format which is for within our
lifetimes and more, and does a good job.
- Finally when I design a solution that involves dates it is important
to be able to "assume" the modified and created date behave as designed, if
you co opt them differently you may find bugs entering your date handling
with the addition of macros and plugins.
#1
This is why previously I warned against using created and modified to mean
something else. Like setting a false created date on a tiddler to indicate
when "Telsla invented something". As soon as you use created for an occured
date you no longer know when the item was created in your database
(Tiddlywiki).
Providing tools for the creation and use of alternative dates and operating
with their own validation logic according to a selected calendar standard
is the best way to go in my view.
Regards
Tony
On Thursday, February 13, 2020 at 7:12:52 PM UTC+11, TiddlyTweeter wrote:
>
> As part of creating tiddlers in "raw" format for direct insertion into TW
> I am manipulating the "created" date.
>
> My question is this ...
>
> *What is the EARLIEST date you can enter? *
>
>
> I assume there will be a date calculation stats from in TW? (JS?)
>
> FYI, the way I am using it is to record historical dates without having to
> use an additional unneeded field.
>
> Any help appreciated!
>
> Best wishes
> TT
>
>
>
--
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/efdd8ef7-4bba-42aa-81e1-7de5b6cff449%40googlegroups.com.