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:

Stumped (1999) WC2.0 Memory Requirements (1997) my SOS last week... (1996) More questions about serial number dishing (1997) WebDNA Quick Reference (Reserved Words) (2000) Saving/Looking Up customer numbers (1998) How to implement 'email to a friend' feature? (2002) Searching Relational Databases (2004) Re2: frames & carts (1997) [math] storage of variables (1997) [recordrank]? (2000) WebCat2: Items xx to xx shown, etc. (1997) More than one db with the same namn (was: WC2f3) (1997) SiteGuard Use Question (1997) Showif, Hideif reverse logic ? (1997) Database cloning- will the real -oRiGiNaL- please stand up (2003) migrating from MacOS to unix (2000) Record size-suggestion (1998) Emailer setup (1997) HELP WITH DATES (1997)