Sorry I know I changed the <LocaltimeFormat> to <LocalTimeFormat> before I
was done testing, not sure why it was not sent correctly.
With regard to the datetime in the left hand border you need to revise the
section that says:

[each.Timestamp].ToString)

to read

each.Timestamp.LocalFormat)

John Davidson

On Tue, Mar 11, 2008 at 2:54 AM, Anders Jarl - anja <[EMAIL PROTECTED]>
wrote:

>  Hi John,
>
>
>
> Thanks for looking at this. I did a test and this is what I came up with:
>
>
>
> I upgraded to the latest build 2.0.0.223 and changed my flexwiki.config to
> add the <LocalDateFormat> and <LocalTimeFormat> copied from the
> flexwiki.config.template. I didn't change the values (see below). Then I
> restarted the IIS and browsed to the Wiki.
>
>
>
> *<LocalDateFormat>yyyy-MM-dd</LocalDateFormat>*
>
> *<LocaltimeFormat>HH:mm</LocaltimeFormat>*
>
>
>
> On the frontpage where the history for the current topic is located I get
> the date and time: "2008-03-05 23:15:13"
>
> Here I would expect to have "2008-03-05 23:15", since the seconds
> shouldn't be shown according to the <LocaltimeFormat>.
>
>
>
> … I just saw when I wrote this that the LocaltimeFormat probably should be
> called LocalTimeFormat with a capital T for time. **Testing**
>
>
>
> OK. This didn't change the appearance in the History on the frontpage. It
> still has the "2008-03-05 23:15:13". But what happened now was that when I
> click the "List all versions" the date and time is *exactly *as expected:
> "2008-03-05 23:15". This did *not* work before I changed to
> LocalTimeFormat with a capital T.
>
>
>
> Also clicking "Recent Changes" also generates the correct date and time as
> expected.
>
>
>
> So the following bugs still remains:
>
>    1. The "History" list in the leftborder doesn't follow the
>    timeformat. Looking at the WikiTalk code this most be what the [
>    each.Timestamp] generates in the code below (taken from my
>    _NormalBorders which is the same as a default _NormalBorders since I 
> haven't
>    changed it).
>
> *[*
>
> *"'''History'''", Newline,*
>
> *aTopic.Changes.Snip(5).Collect*
>
> *{ each |*
>
> *[*
>
> *"||{T-+}", *
>
> *Presentations.Link(federation.LinkMaker.LinkToTopic(each.Fullname), [
> each.Timestamp].ToString), *
>
> *"||", *
>
> *Newline,*
>
> *"||{T-+}``", *
>
> *each.Author, *
>
> *"``||", *
>
> *Newline*
>
> *]
>
> *
>
>    1. The flexwiki.config.template: Change the <LocaltimeFormat> to
>    <LocalTimeFormat>
>
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flexwiki-users mailing list
Flexwiki-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki-users

Reply via email to