On Friday, July 29, 2016 at 8:24:17 AM UTC+2, Jeff Vance wrote: > > Hey all, >
Hi Jeff > First idea: > When creating a new Journal entry, have it calculate the week number from > the date, then add this to a field in the tiddler. Then at the end of the > week, create a weekly tiddler that uses a filter to link (or transclude) > all the journal entries with the same week number field entry. I know how > to do all of these steps except the first one: how can you change the New > Journal operation to automatically assign a week number to a field? > IMO that's not the best idea because of this: https://en.wikipedia.org/wiki/Week#Week_numbering As you can see, the week numbering depends on the area, where you live. So if you feld is "hardcoded" it may be wrong. TiddlyWiki atm stores the created and modified fields in this format: YYYYMMDDhhmmssms UTC format So a tiddler created at Vienna at 12:50 2016-07-29 has a created field like this: 20160729105002497 You can see the difference in hh:mm ?? Vienna is UTC+2 So in my opinion, the week needs to be dynamically calculated, based on "created" and "modified". ... BUT this should be part of the core, to make it right and easy to use. Second idea: > Maybe instead of trying to assign week numbers directly to the fields, > figure out the week number later by using the standard "created" field (or > by the title field which has the date). > IMO the right way. ... but may need some help from TW. > So which of these is likely to work better (or easier to do?) (or is > there another way that's even better?) Thanks! > IMO It needs to be done right! ... Everything else will cause trouble in the future. I'll have a closer look! have fun! mario -- 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 https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/8186fe3f-9b4a-49ff-9de6-e7ba941bc1d2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

