Re: Laying an egg.
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 20640
interpreted = N
texte = On 10/23/98 8:59 AM The Mooseman wrote >>>[showif [math date]{11/22/96}+{00/00/000}[/math]<[date]]>
Bingo! >[/showif]>What version of webcat are you using?If it 3.01 then its possible you have bad prefs templates. Here is a note from our sponsor:>We have discovered a bug in the Admin templates for WebCatalog 3.0 and>3.0.1 that causes dates to be interpreted incorrectly. The Administration>Preferences template has a popup for Read Date Format which puts>uppercase values MDY into the ReadDateFormat preference, instead of the>correct mdy. This causes date sorting and date math to perform incorrect>date comparisons.>>You can solve this problem by replacing the following 3 lines in your>WebCatalog/Admin/AdminPrefs.tpl file:>>
db=[PrefsDB]&lookInField=preference&value=ReadDateFormat&returnField=value>¬Fo>und=mdy]]selected[/ShowIf]>Month/Day/Year (American)> db=[PrefsDB]&lookInField=preference&value=ReadDateFormat&returnField=value>¬Fo>und=mdy]]selected[/ShowIf]>Day/Month/Year (European)> db=[PrefsDB]&lookInField=preference&value=ReadDateFormat&returnField=value>¬Fo>und=mdy]]selected[/ShowIf]>Year/Month/Day (Text-Sortable)Robert Minor_________________________________________________________________________Cybermill Communications webmaster@cybermill.com8616 Joseph Ave. http://www.cybermill.comSt. Louis, MO 63144 (314) 962-4024_________________________________________________________________________Purveyors of fine websites and high bandwith.Colocation and domain hosting available.
Associated Messages, from the most recent to the oldest:
On 10/23/98 8:59 AM The Mooseman wrote >>>[showif [math date]{11/22/96}+{00/00/000}[/math]<[date] ]>Bingo! >[/showif]>What version of webcat are you using?If it 3.01 then its possible you have bad prefs templates. Here is a note from our sponsor:>We have discovered a bug in the Admin templates for WebCatalog 3.0 and>3.0.1 that causes dates to be interpreted incorrectly. The Administration>Preferences template has a popup for Read Date Format which puts>uppercase values MDY into the ReadDateFormat preference, instead of the>correct mdy. This causes date sorting and date math to perform incorrect>date comparisons.>>You can solve this problem by replacing the following 3 lines in your>WebCatalog/Admin/AdminPrefs.tpl file:>> db=[PrefsDB]&lookInField=preference&value=ReadDateFormat&returnField=value>¬Fo>und=mdy]]selected[/ShowIf]>Month/Day/Year (American)> db=[PrefsDB]&lookInField=preference&value=ReadDateFormat&returnField=value>¬Fo>und=mdy]]selected[/ShowIf]>Day/Month/Year (European)> db=[PrefsDB]&lookInField=preference&value=ReadDateFormat&returnField=value>¬Fo>und=mdy]]selected[/ShowIf]>Year/Month/Day (Text-Sortable)Robert Minor_________________________________________________________________________Cybermill Communications webmaster@cybermill.com8616 Joseph Ave. http://www.cybermill.comSt. Louis, MO 63144 (314) 962-4024_________________________________________________________________________Purveyors of fine websites and high bandwith.Colocation and domain hosting available.
Bob Minor
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:
WebCatalog as another user on mac osx (2001)
Format of Required fields error message (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Removing a character (2000)
syntax question, not in online refernce (1997)
Some Advise needed (1997)
Real Audio files (1997)
WebTen and WebCat (1997)
error -571 (2004)
Pithy questions on webcommerce & siteedit (1997)
fieldType=num (1997)
Multi-processor Mac info ... (1997)
[WebDNA] [OT] Phone solution for multiple companies at same location (2010)
FEW QUESTIONS (1997)
[WebDNA] special chars (2009)
WCS Newbie question (1997)
Time sort - Flushdatabases (2000)
no global [username] or [password] displayed ... (1997)
Dealer Locator (2008)
File Uploads: WebCat/SiteEdit (1998)