Re: date tag not interpreted
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 35892
interpreted = N
texte = Then the only conclusion that I can draw is that you are inside of anorderfile context. I just tested those three lines and got:month=08year=2000day=08 as expected. I then wrapped them in an orderfile context and got this:month=12/29/1999format=%m]year=12/29/1999format=%Y]day=12/29/1999format=%d] which is oddly enough, when the orderfile was dated from.In addition, this code would operate identically under V.3. Thereforesomeone changed something so that this template is not inside an orderfile context (implied or explicit).QEDJohn Peacockshane@ims1.com wrote:> > I tried this:> > month=[date format=%m]> year=[date format=%Y]> day=[date format=%d]> > and got> > month=08/08/2000format=%m]> year=08/08/2000format=%Y]> day=08/08/2000format=%d]> > >Why don't you try [date format=%m] instead? All of the contexts now> >should require explicit parameter names (they should, there may be some> >that slipped through), so that the xml-style tags will be consistent.> >> >HTH> >> >John Peacock> >> >shane@ims1.com 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> >>> >> Has anyone else had this problem? These tags have worked since 1998 and> >> stopped interpreting correctly on the day we upgraded to WC 4.> >>> >> Thanks...> >>> >> ----------------------------------------> >> - Shane P. McNelly> >> - Senior New Media Designer> >> - mailto:shane@ims1.com> >> - http://www.interactiveink.com> >> - http://www.columbusrealestate.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:
Then the only conclusion that I can draw is that you are inside of anorderfile context. I just tested those three lines and got:month=08year=2000day=08 as expected. I then wrapped them in an orderfile context and got this:month=12/29/1999format=%m]year=12/29/1999format=%Y]day=12/29/1999format=%d] which is oddly enough, when the orderfile was dated from.In addition, this code would operate identically under V.3. Thereforesomeone changed something so that this template is not inside an orderfile context (implied or explicit).QEDJohn Peacockshane@ims1.com wrote:> > I tried this:> > month=[date format=%m]> year=[date format=%Y]> day=[date format=%d]> > and got> > month=08/08/2000format=%m]> year=08/08/2000format=%Y]> day=08/08/2000format=%d]> > >Why don't you try [date format=%m] instead? All of the contexts now> >should require explicit parameter names (they should, there may be some> >that slipped through), so that the xml-style tags will be consistent.> >> >HTH> >> >John Peacock> >> >shane@ims1.com 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> >>> >> Has anyone else had this problem? These tags have worked since 1998 and> >> stopped interpreting correctly on the day we upgraded to WC 4.> >>> >> Thanks...> >>> >> ----------------------------------------> >> - Shane P. McNelly> >> - Senior New Media Designer> >> - mailto:shane@ims1.com> >> - http://www.interactiveink.com> >> - http://www.columbusrealestate.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:
Showif for mulitple variations (1997)
RAM variables (1997)
OT-Load balance (2004)
Dark Horse Comics success story (1997)
Processing stops (2006)
How do I make this faster???? (2000)
[OT] PHP?MySQL Help Needed (2003)
Vann's - nice new WebCatalog site (1998)
encrypt/decrypt password with authenticate (2002)
This list needs a digest: rant, rave... (1997)
WebCat2b15MacPlugin - [protect] (1997)
Search for 20 finds 2000, 200 Why? (1997)
WebCatalog can't find database (1997)
Mac: [ListFiles] bug alert (1997)
Type 11 errors setting up WebCAt 2 (1997)
[WebDNA] grep again (2010)
Free Code Snippet: DHTL News Ticker for WebDNA (2003)
A simple email page? (1999)
switching users (1998)
Change Subtotal (2000)