Re: [WebDNA] anyone know why webdna kicking out incorrect dates?

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 101647
interpreted = N
texte = Hello Olin, I've had this same bug with WebDNA for over 3 years. Each & every day-name comes up as a Sunday. I had my host, Jesse Proudman at Blue Box Group look into it for me. He was not able to find a solution to the problem for me back then, but he did give me a .php workaround for it. Will a php snippit work for your needs as well? Can we get this bug added to the "To-Do" list over at dev.webdna.us? My thanks to all here. Stephen Braun On Dec 16, 2008, at 8:45 PM, Olin Lagon wrote: > This code > > [Format Days_To_Date %a, %d %b %Y][math]{2008-12-01}[/math][/Format] > > Produces this result > > Sun, 01 Dec 2008 > > The 1st is not Sunday. > > It seems like my windows box gets the day right but not the linux > box. Both > have the same preferences set up and both generate the same value, > 733742, > from the math conversion. So it seems like the format days_to_date is > getting funky. > > Ideas anyone? > > Once I get this done, I can pass out an RSS 2.0 generator for anyone > interested. Feed it a table of entry items and it'll kick out an > RSS2.0 > formatted file. > > Thanks, Olin > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ Associated Messages, from the most recent to the oldest:

    
Hello Olin, I've had this same bug with WebDNA for over 3 years. Each & every day-name comes up as a Sunday. I had my host, Jesse Proudman at Blue Box Group look into it for me. He was not able to find a solution to the problem for me back then, but he did give me a .php workaround for it. Will a php snippit work for your needs as well? Can we get this bug added to the "To-Do" list over at dev.webdna.us? My thanks to all here. Stephen Braun On Dec 16, 2008, at 8:45 PM, Olin Lagon wrote: > This code > > [Format Days_To_Date %a, %d %b %Y][math]{2008-12-01}[/math][/Format] > > Produces this result > > Sun, 01 Dec 2008 > > The 1st is not Sunday. > > It seems like my windows box gets the day right but not the linux > box. Both > have the same preferences set up and both generate the same value, > 733742, > from the math conversion. So it seems like the format days_to_date is > getting funky. > > Ideas anyone? > > Once I get this done, I can pass out an RSS 2.0 generator for anyone > interested. Feed it a table of entry items and it'll kick out an > RSS2.0 > formatted file. > > Thanks, Olin > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ sbraun

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:

[WebDNA] [OT] WebDNA Wiki - need grammar check / suggestions (2009) &fieldsdir=ra truely random?? (2000) Documentation Feedback (1997) Fun with dates (1997) [BULK] [WebDNA] [BULK] WebDNA 7 - Ready or Not ?? I'm not sure... (2011) wild question (1998) Summing fields (1997) no global [username] or [password] displayed ... (1997) AAAH: stupid sendmail (2001) Shared Webstar Directory (1998) [OT] USA States (2003) Re:2nd WebCatalog2 Feature Request (1996) Multiple Form Fields (2000) Erotic Sites (1997) RE: TeaRoom (1997) [WebDNA] incomplete redirect tag (2009) Summ=T Problem (1997) Is there a way to just get to the last record in the database? (1997) WebCat2: Formulas.db question (1997) Clearing orders and database help! (1997)