[tw5] Re: Dates, moment.js and Gantt charts via vis.js timeline
I keep thinking the same.. Learn some js.. Just finding the time. Best of luck! -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/4ca973c9-6257-4e59-8b42-82b6103384bf%40googlegroups.com.
[tw5] Re: Dates, moment.js and Gantt charts via vis.js timeline
Thank Ste, So, it seems I should learn JS and do it :-) --Mohammad On Monday, April 13, 2020 at 12:44:45 AM UTC+4:30, Ste Wilson wrote: > > Hi Mo, > Now your asking... :) > I don't think I delved into the js too deeply. I didn't really follow > things much further than you can see in > http://stephenteachertests.tiddlyspot.com/#Assessment%20Schedule as due > to, apparently, the IT dept not being able to set chrome/ ff as the default > browser (don't ask) the students never used it as explorer shows a red > screen of embarrassment... So I never followed through on linking weeks > through to resources/ assignments etc. Sorry I can't shed more light. > > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/29d51c24-a89d-4a9e-b3d0-9eef2a785f0f%40googlegroups.com.
[tw5] Re: Dates, moment.js and Gantt charts via vis.js timeline
Hi Mo, Now your asking... :) I don't think I delved into the js too deeply. I didn't really follow things much further than you can see in http://stephenteachertests.tiddlyspot.com/#Assessment%20Schedule as due to, apparently, the IT dept not being able to set chrome/ ff as the default browser (don't ask) the students never used it as explorer shows a red screen of embarrassment... So I never followed through on linking weeks through to resources/ assignments etc. Sorry I can't shed more light. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5ea22d42-a86c-43f7-9442-6fb91a33598d%40googlegroups.com.
[tw5] Re: Dates, moment.js and Gantt charts via vis.js timeline
Hi Ste, On Wednesday, September 11, 2019 at 7:59:40 PM UTC+4:30, Ste Wilson wrote: > > A non toxic version at http://stephenteachertests.tiddlyspot.com/ have you used moment.js plugin? what is your recommendation? --Mohammad -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/98bad789-5a80-4c0f-bb81-d82f0ffd02e0%40googlegroups.com.
[tw5] Re: Dates, moment.js and Gantt charts via vis.js timeline
That's a good shout on the numbering. I'll dig into the dates thing next week. What I've got is I guess good enough for the moment but definetly want to make it more tubular so I can reuse it easily next year or just do more with dates. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e7921544-3ebd-4c46-922b-7d1bd7c5abcd%40googlegroups.com.
[tw5] Re: Dates, moment.js and Gantt charts via vis.js timeline
Ste, On your week 16, I added a caption of "16th Week" which is much nicer than seeing lots of "W" on the time line. Thinking about your initial post, I wonder if the timeline will respond to a computed field eg start: Standard date End: `{{{ [is[current]days:start[+6]] }}}` should return the last day of the week in end field if transcluded. - Above untested - May not work with timeline Regards Tony On Thursday, September 12, 2019 at 1:29:40 AM UTC+10, Ste Wilson wrote: > > A non toxic version at http://stephenteachertests.tiddlyspot.com/ -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f37189f6-6a41-4c0a-a692-5b07e30da8e4%40googlegroups.com.
[tw5] Re: Dates, moment.js and Gantt charts via vis.js timeline
Ste, Your use of moment is in java script yes?, You can effectively determine the second date (or provide a relative date) in Wiki text using a filter and the days operator, although it does not spit out the second date you can select tiddlers with the same date as the first + - or equal to the first date. Regards Tony On Thursday, September 12, 2019 at 1:04:25 AM UTC+10, Ste Wilson wrote: > > Date question... > > If I have a tiddler with the field start and I put a date in it how in the > same tiddler can I pass that value into another field and do a moment in > it.. moment({{!!start}}).add(7, days) does not parse in the time line... > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/cbad3328-9366-447f-b024-2f10695260b4%40googlegroups.com.
[tw5] Re: Dates, moment.js and Gantt charts via vis.js timeline
A non toxic version at http://stephenteachertests.tiddlyspot.com/ -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d9fe3ca1-77eb-4633-a71b-209e7797a673%40googlegroups.com.
[tw5] Re: Dates, moment.js and Gantt charts via vis.js timeline
Date question... If I have a tiddler with the field start and I put a date in it how in the same tiddler can I pass that value into another field and do a moment in it.. moment({{!!start}}).add(7, days) does not parse in the time line... -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e83f6f08-a757-4d73-9628-2a86e2302565%40googlegroups.com.
[tw5] Re: Dates, moment.js and Gantt charts via vis.js timeline
If I click through the warnings its just my regular tiddlywiki.. It's being served from my Dropbox which I don't think is hacked.. No clue. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a5d06040-fce7-4edd-ad15-850cb03c7f8c%40googlegroups.com.
[tw5] Re: Dates, moment.js and Gantt charts via vis.js timeline
Hi Ste, If I click your last link I do get a Phishing warning. ... Are you sure your site isn't compromised? -m -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/b8b90145-5ef9-4d61-995a-679599f1b7c6%40googlegroups.com.
[tw5] Re: Dates, moment.js and Gantt charts via vis.js timeline
Ste, Welcome back, Its being a little quiet recently with the northern hemisphere on holiday. But still lost of progress in the tiddlyverse. Here is a quick brain dump, but dates can get complex so continue asking questions. I have done a lot with dates and have some nice code patterns up my sleeve. There are a lot of changes in 5.1.20 that will help with dates I have not yet made use of. But the implementation you are using has date manipulation features. Q1 Link broken I did in the past, it was quite good Q2 date ranges When possible I suggest storing enough only, the start date of each fortnight can be used to get its end date. In fact I would look at using week numbers rather than date ranges and the day of week can help you extract beginning of week. The days operator can be used to get + 7 days, just change the fieldname it applies to. Where ever possible there is value calculating the dates as needed rather hard coding them. Of course the timeline plugin demands the dates to be set but can you make the result be calculated on the fly? Q3 Try a date of 0MM0DD only in your date field and see how that responds The fact is that using a time on 00:00 or 23:59/24:00 makes sense when date fields include time and you want to select whole days. But experience shows in many cases simply leaving the time off the end results in the desired result. Q4 Where is this happening? Do you mean the subtitle? Q5 Did someone do a nice date drop down selector thing once? Picaday plugin http://kixam.github.io/TW5-datePicker/ Keep the conversation going Regards Tony On Wednesday, September 11, 2019 at 12:12:43 AM UTC+10, Ste Wilson wrote: > > 5. > Did someone do a nice date drop down selector thing once? -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ef90cda7-5f0a-406b-84be-59352ba6cdad%40googlegroups.com.