Re: [tw] [TW5] How to insert the current date and time of the file in a tiddler?
> in the [TWc] there was a macro to show the current filedate and time with <>. How can I get this in [TW5]? I believe that that macro is part of the TiddlyTools collection from Eric Shulman. I don't think that we can directly implement it for TW5 because we don't have access to an API that allows us to read the modification date of the TW file. Probably the best we can do is to get the modification date of the most recently modified tiddler. For example: \define fileDate() <$list filter="[!sort[modified]limit[1]]"> <$view field="modified" format="date" template="DDD DDth MMM at 0hh:0mm"/> \end Last modified date: <> Best wishes Jeremy. On Sun, Sep 21, 2014 at 10:14 PM, Uwe wrote: > Hi, > > at first I would like to thank all contributors and in particular Jeremy > Ruston for the new Tiddlywiki 5.1.0. > > Now my question: > > in the [TWc] there was a macro to show the current filedate and time with > <>. How can I get this in [TW5]? > > greetings, > > merlinuwe > > > -- > 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 post to this group, send email to tiddlywiki@googlegroups.com. > Visit this group at http://groups.google.com/group/tiddlywiki. > For more options, visit https://groups.google.com/d/optout. > -- Jeremy Ruston mailto:jeremy.rus...@gmail.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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] [TW5] How to insert the current date and time of the file in a tiddler?
On Wednesday, September 24, 2014 4:31:24 AM UTC-7, Jeremy Ruston wrote: > > > in the [TWc] there was a macro to show the current filedate and time > with <>. How can I get this in [TW5]? > I believe that that macro is part of the TiddlyTools collection from Eric > Shulman. > I don't think that we can directly implement it for TW5 because we don't > have access to an API that allows us to read the modification date of the > TW file. > Probably the best we can do is to get the modification date of the most > recently modified tiddler. > What about the value of document.lastModified? That's what my DatePlugin code returns. -e -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] [TW5] How to insert the current date and time of the file in a tiddler?
> > What about the value of document.lastModified? That's what my DatePlugin > code returns. > Gosh, I did not know about that. Neat. But it doesn't seem to operate how I would expect for documents loaded from a file:// URI. In Chrome at least, each time one runs "document.lastModified" in the console it returns the current time. Best wishes Jeremy > > -e > > > -- Jeremy Ruston mailto:jeremy.rus...@gmail.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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] [TW5] How to insert the current date and time of the file in a tiddler?
I pasted your code (slightly adapted to the german language notation) in a tiddler and it works. Thank you very much! \define fileDate() <$list filter="[!sort[modified]limit[1]]"> <$view field="modified" format="date" template="DDD, DD. MMM , 0hh:0mm"/> Uhr. \end Letzte Änderung: <> This is the current output: Letzte Änderung: Wednesday, 24. September 2014, 16:14 Uhr. I try to update my existing teaching materials from [TWc] to [TW5] for my german speaking pupil. Is it possible to set the days of week and the months to german language? @Eric Shulman: Are you planning to adapt your sophisticated plugins, which you provide at tiddlytools.com to the new TW5? (I love them since years ago when I started to make teaching materials because of their high quality, their further development and the very well documentation.) Greetings, Uwe -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] [TW5] How to insert the current date and time of the file in a tiddler?
Hi Uwe > Is it possible to set the days of week and the months to german language? > The date format strings are not currently translatable. I've added a ticket: https://github.com/Jermolene/TiddlyWiki5/issues/904 Best wishes Jeremy -- Jeremy Ruston mailto:jeremy.rus...@gmail.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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] [TW5] How to insert the current date and time of the file in a tiddler?
On Wednesday, September 24, 2014 4:31:53 PM UTC+2, Uwe wrote: > > I pasted your code (slightly adapted to the german language notation) in > a tiddler and it works. Thank you very much! > Hi Uwe, I hope you know, that there is some basic TW documentation available in German already. [1][2] I finally found someone, that did some proof reading. So there will be a new version with most typos removed :) and some more basic docs soon. So any feedback would be really welcome! I don't intend to translate the whole stuff from tiddlywiki.com but I want to have a "starters guide". So please tell me, what you think should be there. What's coming up: - list macro + examples - toc macro + examples - tabs macro + examples - simple task management description (plus something that imo should be part of the english version :) @Jeremy When do you plan the next release? have fun! Mario [1] http://tiddlywiki.com/#German%20%28Germany%29%20Edition [2] http://tiddlywiki.com/languages/de-DE/index.html -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] [TW5] How to insert the current date and time of the file in a tiddler?
> When do you plan the next release? I'm planning to release 5.1.2 on Friday or Saturday this week, all being well. Best wishes Jeremy — jeremy.rus...@gmail.com On Wed, Sep 24, 2014 at 5:47 PM, PMario wrote: > On Wednesday, September 24, 2014 4:31:53 PM UTC+2, Uwe wrote: >> >> I pasted your code (slightly adapted to the german language notation) in >> a tiddler and it works. Thank you very much! >> > Hi Uwe, > I hope you know, that there is some basic TW documentation available in > German already. [1][2] > I finally found someone, that did some proof reading. So there will be a > new version with most typos removed :) and some more basic docs soon. > So any feedback would be really welcome! > I don't intend to translate the whole stuff from tiddlywiki.com but I want > to have a "starters guide". > So please tell me, what you think should be there. > What's coming up: > - list macro + examples > - toc macro + examples > - tabs macro + examples > - simple task management description (plus something that imo should be > part of the english version :) > @Jeremy > When do you plan the next release? > have fun! > Mario > [1] http://tiddlywiki.com/#German%20%28Germany%29%20Edition > [2] http://tiddlywiki.com/languages/de-DE/index.html -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.