Re: date tag not interpreted

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 35906
interpreted = N
texte = No, you do not need to have the closing bracket when inside an orderfile context. This is a bug that I reported several times; the parser is greedy inside the orderfile context and takes [date (note the space) as [date] and deletes the space before displaying. If you type this: [date ] (again with the space) outside and inside an orderfile context you will see that inside the context you will have an extra bracket.Outside of an orderfile context, [date will leave the rest of the page blank, because you did not close the context. If you try it in 3.x, you will have the same behavior, since they did not fix it for 4.x.John PeacockPaul Uttermohlen wrote: > > > >I have an admin area that sorts by date and day and year and month. As of > > >the 3rd of last month it started interpreting the tags as follows: > > > > > >[date] = 08/08/2000 > > >[date %m] = 08/08/2000%m] should be 08 > > >[date %Y] = 08/08/2000%Y] should be 08 > > >[date %d] = 08/08/2000%d] should be 2000 > > > >Is this inside of an [orderfile] context, or on a page reached via > >command=ShowCart/Purchase/Add/Remove? If so, then in that context > >[date] means the date the orderfile was created, not the server's > >date. See your docs or > >http://betadoc.smithmicro.com/AllTags.html#Date in the big pink > >box for an explanation. > > So this in NOT a bug and typing [date (without an ending bracket) is > supposed to display the date of the order file now, when in 3.x it > did not? > > Paul > > >-- > >Technical Support ********************************** > >Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) > >16855 West Bernardo Drive, #380 | ------------------------- > >San Diego, CA 92127 | Software & Site Development > >WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com > > Fax: (858) 675-0372 ********************************** > > > >------------------------------------------------------------- > >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/ > > _/_/_/_/_/_/_/_/_/_/_/_/|\_\_\_\_\_\_\_\_\_\_\_\_ > _/_/_/Paul Uttermohlen, Interactive Ink, Inc._\_\_ \_\_\_\_ > _/_/_/ mailto:paul@ims1.com - Website Development \_\_\_\_ > _/_/_/ Business - _\_\_\_\_\_\_ > _/_/_/ Real Estate - _\_\_\_\_ > _/_/_/_/_/_/_/_/_/_/_/_/_/_/ | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ > > ------------------------------------------------------------- > 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/------------------------------------------------------------- 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: date tag not interpreted (Bob Sneidar 2000)
  2. Re: date tag not interpreted (Robie Blair 2000)
  3. Re: date tag not interpreted (Glenn Busbin 2000)
  4. Re: date tag not interpreted (Aaron Lynch 2000)
  5. Re: date tag not interpreted (Kenneth Grome 2000)
  6. Re: date tag not interpreted (Bob Sneidar 2000)
  7. Re: date tag not interpreted (John Peacock 2000)
  8. Re: date tag not interpreted (Kenneth Grome 2000)
  9. Re: date tag not interpreted (John Peacock 2000)
  10. Re: date tag not interpreted (Paul Uttermohlen 2000)
  11. Re: date tag not interpreted (John Peacock 2000)
  12. Re: date tag not interpreted (Paul Uttermohlen 2000)
  13. Re: date tag not interpreted (WebDNA Support 2000)
  14. Re: date tag not interpreted (John Peacock 2000)
  15. Re: date tag not interpreted (Joseph D'Andrea 2000)
  16. Re: date tag not interpreted (shane@ims1.com 2000)
  17. Re: date tag not interpreted (John Peacock 2000)
  18. date tag not interpreted (shane@ims1.com 2000)
No, you do not need to have the closing bracket when inside an orderfile context. This is a bug that I reported several times; the parser is greedy inside the orderfile context and takes [date (note the space) as [date] and deletes the space before displaying. If you type this: [date ] (again with the space) outside and inside an orderfile context you will see that inside the context you will have an extra bracket.Outside of an orderfile context, [date will leave the rest of the page blank, because you did not close the context. If you try it in 3.x, you will have the same behavior, since they did not fix it for 4.x.John PeacockPaul Uttermohlen wrote: > > > >I have an admin area that sorts by date and day and year and month. As of > > >the 3rd of last month it started interpreting the tags as follows: > > > > > >[date] = 08/08/2000 > > >[date %m] = 08/08/2000%m] should be 08 > > >[date %Y] = 08/08/2000%Y] should be 08 > > >[date %d] = 08/08/2000%d] should be 2000 > > > >Is this inside of an [orderfile] context, or on a page reached via > >command=ShowCart/Purchase/Add/Remove? If so, then in that context > >[date] means the date the orderfile was created, not the server's > >date. See your docs or > >http://betadoc.smithmicro.com/AllTags.html#Date in the big pink > >box for an explanation. > > So this in NOT a bug and typing [date (without an ending bracket) is > supposed to display the date of the order file now, when in 3.x it > did not? > > Paul > > >-- > >Technical Support ********************************** > >Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) > >16855 West Bernardo Drive, #380 | ------------------------- > >San Diego, CA 92127 | Software & Site Development > >WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com > > Fax: (858) 675-0372 ********************************** > > > >------------------------------------------------------------- > >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/ > > _/_/_/_/_/_/_/_/_/_/_/_/|\_\_\_\_\_\_\_\_\_\_\_\_ > _/_/_/Paul Uttermohlen, Interactive Ink, Inc._\_\_ \_\_\_\_ > _/_/_/ mailto:paul@ims1.com - Website Development \_\_\_\_ > _/_/_/ Business - _\_\_\_\_\_\_ > _/_/_/ Real Estate - _\_\_\_\_ > _/_/_/_/_/_/_/_/_/_/_/_/_/_/ | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ > > ------------------------------------------------------------- > 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/------------------------------------------------------------- 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:

WebCat2 - Getting to the browser's username/password data (1997) Function defined inside Scope context (2005) Harvesting invalid email addresses from bounced emails??? (2000) [convertchars] (2000) f2 download problems (1997) Capturing the referring site (1999) Newbie problem blah blah blah (1997) date math (2005) converted seed value? (1998) WebCatalog Plug-in for Webstar. (1997) WebCat2.0 [format thousands .0f] no go (1997) Multiple prices (1997) Banner DNA (1997) What am I doing wrong? (2000) formula's (1998) Dr. Watson Error (1998) [format xs] freeze (1997) Still ignoring the 3.x bugs? (2000) Text data with spaces in them... (1997) Security problems (2000)