[WebDNA] mail header timezone problem
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 100527
interpreted = N
texte = We're running WebCatalog unix-Solaris Sparc Apache Module version 6.0a and have our SMTP Mail Server set to our own smtp mail server. Additionally, we're located in the Mountain Time Zone (MDT). Problem we're seeing after sniffing network traffic is that WebCatalog is sending the wrong offset in the email headers?Here's an example:SMTP: "Date: Sat, 12 May 2007 12:25:16 -0700\r\n"Maybe it's mapping MDT to -0700 instead of -0600, treating it like MST or like there's no such thing as daylight saving time?Putting [date %Z] on a page does display the correct Timezone (MDT), just not in the email header.The system appears to know the correct timezone:v242:78> dateSat May 12 11:55:04 MDT 2007v242:79> perl -e '$a = localtime(); print "$a\n";'Sat May 12 11:55:54 2007Anyone got any ideas or know how to tell WebCat to use correct offset?Marc-- -------------------------------------------Marc ThompsonSoftware EngineerOffice of Information TechnologyUniversity of Utah801.585.9264marc.thompson@utah.edu-------------------------------------------
Associated Messages, from the most recent to the oldest:
We're running WebCatalog unix-Solaris Sparc Apache Module version 6.0a and have our SMTP Mail Server set to our own smtp mail server. Additionally, we're located in the Mountain Time Zone (MDT). Problem we're seeing after sniffing network traffic is that WebCatalog is sending the wrong offset in the email headers?Here's an example:SMTP: "Date: Sat, 12 May 2007 12:25:16 -0700\r\n"Maybe it's mapping MDT to -0700 instead of -0600, treating it like MST or like there's no such thing as daylight saving time?Putting [date %Z] on a page does display the correct Timezone (MDT), just not in the email header.The system appears to know the correct timezone:v242:78> dateSat May 12 11:55:04 MDT 2007v242:79> perl -e '$a = localtime(); print "$a\n";'Sat May 12 11:55:54 2007Anyone got any ideas or know how to tell WebCat to use correct offset?Marc-- -------------------------------------------Marc ThompsonSoftware EngineerOffice of Information TechnologyUniversity of Utah801.585.9264marc.thompson@utah.edu-------------------------------------------
Marc Thompson
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:
question: webmerchant connection (1997)
Math Function (1997)
Show next 2 examples that work (1997)
authenticating a second user, the sequel (1997)
Show shoppingcart after remove last item (1997)
Database search in JavaScript with passed values (2002)
Line Endings (2007)
WebCat 5 Intranet Question (2003)
Sunday [search] puzzler (1999)
Opinion: [input] should be called [output] ... (1997)
Shipping Calculation Problem (1997)
could someone please try this - it's very quick and easy (2000)
customizing the color of user's pages (1997)
WebCatalog2 Feature Feedback (1996)
RAM crash (1998)
month from number (2005)
WebMerchant 1.6 and SHTML (1997)
Mass deletion of records (2006)
Using [showif] within [lineitems] [code fragment] (2000)
Nested Lookups (1998)