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 Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 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:

    
  1. Re: strange [date] behavior (John Peacock 2001)
  2. Re: strange [date] behavior (Nitai @ ComputerOil 2001)
  3. Re: strange [date] behavior (Glenn Busbin 2001)
  4. Re: strange [date] behavior (Jeff Grady 2001)
  5. Re: strange [date] behavior (Stuart Tremain 2001)
  6. Re: strange [date] behavior (Ken MacMurchy 2001)
  7. Re: strange [date] behavior (Glenn Busbin 2001)
  8. Re: strange [date] behavior (Jeff Grady 2001)
  9. Re: strange [date] behavior (Jeff Grady 2001)
  10. Re: strange [date] behavior (Brian Fries 2001)
  11. Re: strange [date] behavior (Brian Boegershausen 2001)
  12. strange [date] behavior (Jeff Grady 2001)
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 Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 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)