Re: strange [date] behavior
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 40283
interpreted = N
texte = Jeff Grady wrote:> When I include the following on the page:> Month Test [date %m] - > year Test [date %y]> > this is what shows up on the page that is served:> Month Test 11/21/2001format=%m]> year Test 11/21/2001format=%y]You are in an implied orderfile context, whether you realize it or not. The page prior to this one could have been adding a line item; that would put you into an implied [orderfile] context.As for what you did get, it is pretty obvious once you realize the trick:11/21/2001format=%y]^^^^^^^^^^That is the [date] in your default date display format, followed by the remaining text.I view this as a bug in the parser, but Grant long ago stated that you just cannot use [date ...] inside an [orderfile] context.John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Jeff Grady wrote:> When I include the following on the page:> Month Test [date %m] - > year Test [date %y]> > this is what shows up on the page that is served:> Month Test 11/21/2001format=%m]> year Test 11/21/2001format=%y]You are in an implied orderfile context, whether you realize it or not. The page prior to this one could have been adding a line item; that would put you into an implied [orderfile] context.As for what you did get, it is pretty obvious once you realize the trick:11/21/2001format=%y]^^^^^^^^^^That is the [date] in your default date display format, followed by the remaining text.I view this as a bug in the parser, but Grant long ago stated that you just cannot use [date ...] inside an [orderfile] context.John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
John Peacock
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Our Webcat site launched (1997)
[WebDNA] problems sorting when using multiple words in the search field (2011)
Troubles with Selection Drop Down List Search (1998)
WebDNA security (2004)
Can you do this??? and other stuff (1997)
weight based shipping cost questions (1997)
WC2.0 Memory Requirements (1997)
WebCatalog NT beta 18 problem (1997)
Searching multiple fields from one form field (1997)
triggers have stopped once again (2002)
Another question about credit cards (1997)
Webten + Webcat running smooth (1998)
Sendmail question [Newbie] (1999)
Emailer again & again (1997)
[WebDNA] Migration from 6.2 to 7. Problems with writing to DB's (2012)
fresh eyes needed. Append won't work. (2000)
wild question (1998)
Help name our technology! (1997)
PDF on the fly - how to? (2005)
Erotic Sites (1997)