On 02/22/2014 10:59 PM, Eric Shulman wrote:

I tried the following:

[...]
11) edit "1962-07-24" into dateline input field

// Anton strikes forehead!

* I'm not seeing a "big number" as you reported
* The date conversion is "off by 1" ... Which is a common JS problem
(day and month numbers are 0-based, e.g, 0-30 for days, and 0-11 for months)

DUH
Well, I looked at the file to see how dates were stored and they were the bignum. So here I was trying to convert bignum to date in my head!

Still... This doesn't really give you what you want... Which is THREE
inputs in edit mode that are converted to a single datetime value for
storage and display, and then split again into three values when editing.

Well that was my diea ...  But now I wonder.

Moment.

Can this handle years BC and date with a year beyond 9999?

... OUCH, no.
10251-07-14 gets truncated to 1025-07-14

Maybe playing with the date format .. Or no.



--
E pluribus unum. (Out of many, one.)
- Motto for the Seal of the United States. Adopted 20 June 1782, recommended by John Adams, Benjamin Franklin and Thomas Jefferson, 10 Aug. 1776, and proposed by Swiss artist Pierre Eugene du SimitiËre. It had originally appeared on the title page of the Gentleman's Journal (Jan. 1692).

--
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to