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

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 101666
interpreted = N
texte = I just tried [Format Days_To_Date %A %w, %d %b %Y][math]{2008-12-01}[/math][/Format] And got Sunday 0, 01 Dec 2008 So even the %a, %A, and %w return Sunday no matter the day. I guess I could write a function to calculate this correctly myself (Zeller's Algorithm). Without a proper day of week, the RSS doc will be invalid. -----Original Message----- From: Frank Nordberg [mailto:frnordbe@online.no] Sent: Wednesday, December 17, 2008 12:43 AM To: talk@webdna.us Subject: Re: [WebDNA] anyone know why webdna kicking out incorrect dates? sbraun wrote: > Hello Olin, > I've had this same bug with WebDNA for over 3 years. > Each & every day-name comes up as a Sunday. Every day is Sunday for linux users. ;-) > 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. You can always create a custom table/database for weekdays. Clumsy but it may still be better than resorting to php. Frank Nordberg http://www.musicaviva.com --------------------------------------------------------- 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:

    
  1. RE: [WebDNA] anyone know why webdna kicking out incorrect dates? ("Olin Lagon" 2008)
  2. Re: [WebDNA] anyone know why webdna kicking out incorrect dates? (Frank Nordberg 2008)
  3. Re: [WebDNA] anyone know why webdna kicking out incorrect dates? (Bob Minor 2008)
  4. Re: [WebDNA] anyone know why webdna kicking out incorrect dates? ("Tom Duke" 2008)
  5. RE: [WebDNA] anyone know why webdna kicking out incorrect dates? ("Olin Lagon" 2008)
  6. Re: [WebDNA] anyone know why webdna kicking out incorrect dates? (Bob Minor 2008)
  7. RE: [WebDNA] anyone know why webdna kicking out incorrect dates? ("Olin Lagon" 2008)
  8. Re: [WebDNA] anyone know why webdna kicking out incorrect dates? (Donovan Brooke 2008)
  9. Re: [WebDNA] anyone know why webdna kicking out incorrect dates? (Bob Minor 2008)
  10. Re: [WebDNA] anyone know why webdna kicking out incorrect dates? (Donovan Brooke 2008)
  11. Re: [WebDNA] anyone know why webdna kicking out incorrect dates? (Stuart Tremain 2008)
  12. Re: [WebDNA] anyone know why webdna kicking out incorrect dates? (Bob Minor 2008)
  13. Re: [WebDNA] anyone know why webdna kicking out incorrect dates? (sbraun 2008)
I just tried [Format Days_To_Date %A %w, %d %b %Y][math]{2008-12-01}[/math][/Format] And got Sunday 0, 01 Dec 2008 So even the %a, %A, and %w return Sunday no matter the day. I guess I could write a function to calculate this correctly myself (Zeller's Algorithm). Without a proper day of week, the RSS doc will be invalid. -----Original Message----- From: Frank Nordberg [mailto:frnordbe@online.no] Sent: Wednesday, December 17, 2008 12:43 AM To: talk@webdna.us Subject: Re: [WebDNA] anyone know why webdna kicking out incorrect dates? sbraun wrote: > Hello Olin, > I've had this same bug with WebDNA for over 3 years. > Each & every day-name comes up as a Sunday. Every day is Sunday for linux users. ;-) > 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. You can always create a custom table/database for weekdays. Clumsy but it may still be better than resorting to php. Frank Nordberg http://www.musicaviva.com --------------------------------------------------------- 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/ "Olin Lagon"

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:

archived answer how to overwrite [username] and [password] (without authenticate dialog) not working for me. ? (2000) Symantec VIsual Page 1.0.3 (1997) Fwd: FW: Returned mail: you are not authorized to release queueson this server (2000) unique ascending numbers (2003) WebCatalog Hosting (1996) OUTSIDE LINKS TO SHOW SHOPPING CART????????? (1998) Need relative path explanation (1997) include (1998) [Webcat 2]Next (1997) WC allow classified users to edit entry (1999) Signal Raised (1997) WCS Newbie question (1997) If Empty ? (1997) [thisurl] (2004) 'page impression' techniques for banner ads (1999) [date format] w/in sendmail (1997) ListFiles then delete by ModDate (2002) Encrypting the seed (2001) [OT] Mystery Autoreply (2004) A multi-processor savvy WebCatalog? (1997)