Date Picker question

180 views
Skip to first unread message

axelm

unread,
Dec 18, 2011, 5:20:44 PM12/18/11
to tiddl...@googlegroups.com
Hello All,

can somebody tell me if this DatePicker code
( http://www.monkeyphysics.com/mootools/script/2/datepicker )
can be used on a tiddler?
I tried, but couldn't get it to work.

thanks,

axelm

axelm

unread,
Dec 18, 2011, 5:40:13 PM12/18/11
to tiddl...@googlegroups.com
This would be the most awesome input field.
On this page:
http://marcgrabanski.com/articles/clean-calendar

Look at the first text field called "Date Select 1"

how to do?

axelm

Måns

unread,
Dec 18, 2011, 7:34:20 PM12/18/11
to TiddlyWiki
Hi axelm

Do you know calendar plugin http://www.tiddlytools.com/#CalendarPlugin
, http://www.tiddlytools.com/#DatePlugin
and http://remindermacros.tiddlyspot.com/ or http://tbgtd.tiddlyspot.com/#ReminderMacros
(There's a datepicker included in the remindermacros plugin - don't
know how to isolate it though)

Cheers Måns Mårtensson

FrD

unread,
Dec 19, 2011, 3:41:54 AM12/19/11
to tiddl...@googlegroups.com
Hi,

I'm using the datePicker code from :

http://svn.tiddlywiki.org/Trunk/contributors/SaqImtiaz/libraries/DatePicker.js

This code is used by mGSD (Simon Baird , http://monkeygtd.blogspot.com/)

FrD

Måns

unread,
Dec 19, 2011, 4:06:55 AM12/19/11
to TiddlyWiki
Hi FrD

> I'm using the datePicker code from :
>

> http://svn.tiddlywiki.org/Trunk/contributors/SaqImtiaz/libraries/Date...


>
> This code is used by mGSD (Simon Baird ,http://monkeygtd.blogspot.com/)

Do you use it in a "standard TW" ?

I tried to setup a standard TW[0] with datepickerlibrary[1] and
dateChooserPlugin [2] - I found the plugins in a thread on this
forum[3].

There are *a lot* of dependencies to "things" in the heavily
customized mGSD-document - and I haven't been able to make it work
yet....

Do you have a working example?

[0] http://dato.tiddlyspot.com/#test
[1] http://svn.tiddlywiki.org/Trunk/contributors/SaqImtiaz/libraries/DatePicker.js
[2] http://mgsd.tiddlyspot.com/demo3.html#dateChooserPlugin
[3] http://groups.google.com/group/tiddlywiki/browse_thread/thread/ab81b7a719fbc66c/e18a3b75687b9b8b

Cheers Måns Mårtensson

FrD

unread,
Dec 19, 2011, 4:27:58 AM12/19/11
to tiddl...@googlegroups.com
Hi Måns,

See http://dl.dropbox.com/u/9385804/FrDPlugins.html (tiddler : FormElementzDateChooser)

You can also use it with DataTiddlerPlugin (http://tiddlywiki.abego-software.de/#Plugins) if you modify one of the last lines :
instead of :
  tid.setHData(el.champ,objDate.convertToLocalYYYYMMDD());

write something like :
tid.setData(el.champ,objDate.convertToLocalYYYYMMDD());

I've not tried myself ...

FrD

FrD

unread,
Dec 19, 2011, 4:32:35 AM12/19/11
to tiddl...@googlegroups.com
Sorry Måns,

it seems it's a bit more complicated.

Il's better to start with the original DataPicker tiddler in mGSG.

FrD

FrD

unread,
Dec 19, 2011, 4:38:20 AM12/19/11
to tiddl...@googlegroups.com
Hi Måns,

I've found in one of my old TW a version of DatePicker which works with DataTiddlerPlugin.
Take a look at http://dl.dropbox.com/u/9385804/FrDPlugins.html (tiddler : zfrDDateChooserWithData)

FrD

Måns

unread,
Dec 19, 2011, 4:44:18 AM12/19/11
to TiddlyWiki
Hi FrD

> Take a look at http://dl.dropbox.com/u/9385804/FrDPlugins.html(tiddler :
> zfrDDateChooserWithData)

Thanks a lot :-)
I will investigate...

Cheers Måns Mårtensson

sklpns

unread,
Mar 11, 2013, 10:10:37 AM3/11/13
to tiddl...@googlegroups.com

Hey all

I've set up a datepicker using the plugins from
http://dl.dropbox.com/u/9385804/FrDPlugins.html

how do I get FET to fetch the date data?

thanks in advance

sklpns

sklpns

unread,
Mar 28, 2013, 5:25:35 PM3/28/13
to tiddl...@googlegroups.com

Thanks to FrD the answer to my own question is something like

<<forEachTiddler
 write
 'tiddler.getHData("date")+"\n"'
>>

(where date is the name of the slot used)

This will get the date as a string : "YYYYMMDD"
But how do I get FET to present the date in a -sortable- format like DD/MM/YYYY or 16 February 2011 and so on?

thanks in advance

sklpns





Reply all
Reply to author
Forward
0 new messages