Fog Creek Software
Discussion Board




Knowledge Base
Documentation
Terry's Tips
Darren's Tips

.modifiedDate/Time ?

Can someone test wether these placeholders gives the right results in RC 2.0.17 ?

When I tried using them in an article I got a date back in february last year, and the wrong time as well.

Perhaps I should be asking what it looked up the modified time/date of ? :)

Lasse Vågsæther Karlsen
Tuesday, August 19, 2003

You can see the modified date/time in the properties tab. It can't be changed and is set to "now" when you save an article.

If you import a site from 1.0, which didn't keep track of the "last modified time," 2.0will initialize it to the filed date, which is the best guess it can come up with.

Joel Spolsky
Wednesday, August 20, 2003

I realize how it's supposed to work, but it doesn't work like that on my site.

I'll give you an example. In an article I've written:
http://www.vkarlsen.no/Articles/CityDesk2initialtest.html

The filed date is Tuesday, August 19, 2003, 03:04 PM (got to remember to change that to 24 hour btw), but the modified date is ... wait... aha, here's something...

In the article I wrote
Update {$ .modifiedDate $}, {$ .modifiedTime $}

On my index page, it gets listed as:
Update Tuesday 26. February 2002, 17:53:06

In my article it's listed as:
Update Wednesday, August 20, 2003, 03:24 PM

It's the same text being pulled in however.

If you look at my website, www.vkarlsen.no, and check the article labelled "CityDesk 2 initial test", you'll see the phenomenon (link button is to the right of the topic). Btw, I "borrowed" your link image from your joelonsoftware site. If you don't want me to do that let me know and I'll go create something else, I just liked your image.

On an unrelated note, did you have a nice vacation? :)

Lasse Vågsæther Karlsen
Wednesday, August 20, 2003

*  Recent Topics

*  Fog Creek Home