Hmmm,
I don't think that i have the technical skill to do that.  I was playing 
around with it and I think that I might just reverse the dates - It means 
that I'll be reading it in a right to left orientation, but that isn't a 
big deal for me.  Thanks again!

Jonathan

On Friday, March 14, 2014 10:08:51 AM UTC-4, emkay wrote:
>
> Hi Jonathan,
>
> Glad you like the plugin.
>
> The plugin uses the 
> moment.js<http://momentjs.com/docs/#/parsing/string-format/> library 
> for date parsing.  The formats it supports are listed under the "string + 
> format" section.  The required format can be passed to the plugin using the 
> 'format' attribute.
>
> Looking at the documentation it doesn't seem that moment js handles +/- 
> nor a BCE/CE indicator.  However, I have had a look at the moment.js test 
> suite and have come across examples using negative years.  There examples 
> include: 
>
>    1. "-270000-01-01" formatting it with "YYYYY-MM-DD" to get BCE 270,001.
>    2. "-1000-01-01" formatting it with "YYYYY-MM-DD" to get  BCE 1,001
>    
> I haven't tried these myself (I only need to the timeline to handle the 
> last couple of hundred years), but it may be worth having a go to see if 
> you can get them to work.
>
> Good luck,
>
> Martin
>
> On Friday, 14 March 2014 13:23:58 UTC, Jonathan Emmert wrote:
>>
>> I love this plugin - thank you.  
>>
>> Is there a way to work with dates that are BCE?  I tried using negative 
>> numbers for "start" and "end" but I get an error: "visjstimeline: Not a 
>> startDate (-0605) on Nebuchadnezzar II.start"
>>
>> I get the same thing if I use positive numbers.
>>
>> Thanks for the work and the help!
>>
>> Jonathan
>>
>>
>>
>> On Thursday, March 13, 2014 10:05:44 AM UTC-4, emkay wrote:
>>>
>>>
>>> On Wednesday, 12 March 2014 22:15:10 UTC, Jeremy Ruston wrote:
>>>>
>>>> Hi Martin
>>>>
>>>> Congratulations on a very nicely executed plugin, with exemplary 
>>>> presentation. I'm sure it will be justly popular. I'll add a link on 
>>>> tiddlywiki.com - how would you like to be credited?
>>>>
>>>
>>> Thanks to you (and everyone else) for the positive feedback.  All the 
>>> real hard work has been done by you and the vis.js guys, all I did was to 
>>> pull the two together.  You are welcome to credit me as Martin Kendall on 
>>> tiddlywiki.com.
>>>
>>>
>>>
>>>> I had a quick scan of the code: 
>>>>
>>>> * Your parseWidgetAttributes() method is interesting. I had originally 
>>>> planned to make the attribute handling be more declaratory, and would 
>>>> still 
>>>> like to do so
>>>>
>>>
>>> Yes, I like the idea of declarative options, though my code is a long 
>>> way from being useful.  I will keep evolving it and maybe it will help 
>>> formulate some ideas.
>>>  
>>>
>>>> * I wondered if you'd considered merging the three ways of specifying 
>>>> the tiddler list into one: "list='title'" is equivalent to a filter 
>>>> "[list[title]]", except for the requirement to quote tiddler titles.
>>>>
>>>
>>> You really made my day with this idea - I love simplifying things down 
>>> to a smaller set of moving parts (less to code, less to maintain and less 
>>> to go wrong).  I've released a new version of the plugin that merges the 
>>> three attributes, consolidating on filter.  This lead me to digging deeper 
>>> into filters, but my issues there are best discussed on TiddyWikiDev.
>>>  
>>>
>>>> * The demo tiddlers are missing the vertical bar at the start of the 
>>>> table at the top
>>>>
>>>  
>>> I'd totally forgotten I was even aiming to show a table - nice spot!
>>>  
>>>
>>>>
>>>> Anyhow, I'm very happy to see this, and wish you luck for future 
>>>> plugins! (Mindmapping is a perennial request...)
>>>>
>>>> Best wishes
>>>>
>>>> Jeremy
>>>>
>>>>
>>>>
>>>>
>>>> On Wed, Mar 12, 2014 at 8:12 PM, emkay <[email protected]>wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I've written a TW5 plugin that uses vis.js <http://visjs.org/> to 
>>>>> show a graphical timeline view of a wiki's tiddlers.  
>>>>>
>>>>> I developed it for my own use, but I thought others may find it 
>>>>> useful, so I have made it available on github.
>>>>>
>>>>> A demonstration of the widget and it's help tiddler can be seen at:
>>>>>
>>>>> http://emkayonline.github.io/tw5visjs
>>>>>
>>>>> You can install it by dragging it from the demonstration's 
>>>>> ControlPanel into your wiki.  It requires TW5 version >= 5.0.8-beta.
>>>>>
>>>>> Full documentation, source and tests can be found at:
>>>>>
>>>>> https://github.com/emkayonline/tw5visjs
>>>>>
>>>>>
>>>>> All the best,
>>>>>
>>>>> Martin
>>>>>
>>>>> -- 
>>>>> 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/d/optout.
>>>>>
>>>>
>>>>
>>>>
>>>> -- 
>>>> Jeremy Ruston
>>>> mailto:[email protected]
>>>>  
>>>

-- 
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/d/optout.

Reply via email to