Date Math broken on Mac OS X 10.4?

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 69592
interpreted = N
texte = Hi We are moving some WebDNA websites to an XServe running OS X 10.4.11 Server which have been running fine on another XServe with OS X 10.3.9 Server. It seems "math date" code doesn't work anymore. I tested the following code snippets, formatting seems to work OK it's just when you introduce [math] tags... [date] = 17/12/2007 (same on both servers) [date %Y %m %d] = 2007 12 17 (same on both servers) [format days_to_date %d %m %Y]733392[/format] = 17 12 2007 (same on both servers) [math]{[date %Y %m %d]}[/math] = 733392 (on 10.3.9) [math]{[date %Y %m %d]}[/math] = 714613 (on 10.4.11) [format days_to_date %d %m %Y][math]{[date %Y %m %d]}[/math][/format] = 17 12 2007 (on 10.3.9) [format days_to_date %d %m %Y][math]{[date %Y %m %d]}[/math][/format] = 18 07 1956 (on 10.4.11) We have both servers set to use UK formats in the International System Preferences. Both are set to London, UK in the time Zone section of the Date & Time System Preference Both have WebDNA prefs set to... Date Display Format : %d/%m/%Y Time Display Format : %H:%M:%S Read Date Format : Year/Month/Day text sortable I (and my colleague as a second pair of eyes) have been through all the server settings a couple of time and everything seems to be set the same on both the 10.3 and 10.4 server preferences and WebDNA settings. Has anyone else experienced this? Is anyone else running 10.4 with UK (or at least non USA) settings as above? Any other ideas? Paul ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Date Math broken on Mac OS X 10.4? ( Tom Duke 2007)
  2. Re: Date Math broken on Mac OS X 10.4? ( Paul Willis 2007)
  3. Re: Date Math broken on Mac OS X 10.4? ( Tom Duke 2007)
  4. Date Math broken on Mac OS X 10.4? ( Paul Willis 2007)
Hi We are moving some WebDNA websites to an XServe running OS X 10.4.11 Server which have been running fine on another XServe with OS X 10.3.9 Server. It seems "math date" code doesn't work anymore. I tested the following code snippets, formatting seems to work OK it's just when you introduce [math] tags... [date] = 17/12/2007 (same on both servers) [date %Y %m %d] = 2007 12 17 (same on both servers) [format days_to_date %d %m %Y]733392[/format] = 17 12 2007 (same on both servers) [math]{[date %Y %m %d]}[/math] = 733392 (on 10.3.9) [math]{[date %Y %m %d]}[/math] = 714613 (on 10.4.11) [format days_to_date %d %m %Y][math]{[date %Y %m %d]}[/math][/format] = 17 12 2007 (on 10.3.9) [format days_to_date %d %m %Y][math]{[date %Y %m %d]}[/math][/format] = 18 07 1956 (on 10.4.11) We have both servers set to use UK formats in the International System Preferences. Both are set to London, UK in the time Zone section of the Date & Time System Preference Both have WebDNA prefs set to... Date Display Format : %d/%m/%Y Time Display Format : %H:%M:%S Read Date Format : Year/Month/Day text sortable I (and my colleague as a second pair of eyes) have been through all the server settings a couple of time and everything seems to be set the same on both the 10.3 and 10.4 server preferences and WebDNA settings. Has anyone else experienced this? Is anyone else running 10.4 with UK (or at least non USA) settings as above? Any other ideas? Paul ------------------------------------------------------------- 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://webdna.smithmicro.com/ Paul Willis

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:

Hiding my Source Code with W* (2000) archiving images (2006) WebCatalog for Postcards ? (1997) Search in 2 or more catalogs (1997) Max Record length (1997) [OT] MacOs IE5 topmargin and leftmargin bug (2000) searching multiple databases in single search (1997) Webcatalog, Webstar and Crasharama (1999) Limits (2000) Copyright ? (1997) Questions To Answer (1997) Passing Variables to a [shell scriptid=123][/shell] context (2004) syntax question, not in online refernce (1997) long list formatted in a table (2004) really wierd browser truncating (1997) linetiems in thankyou.tpl (1997) How do you hide [math]stuff[/math] (1997) Summing fields (1997) Date problems (1997) Disappearing Databases (2000)