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:
[OT] Ratings comparison? (2003)
WCS Newbie question (1997)
Spamming this list! (2000)
Location of Webcat site in folder hierarchy (1997)
Was: WebDNA 5.2, Now version 6.0 (2004)
What am I doing wrong? (2000)
SiteGuard Admin Feature ? (1997)
Cart -> Date and Time (2004)
Trouble Searching (1999)
Hiding HTML and breaking the page (1997)
[WebDNA] Happy Friday (2016)
Here we go again... (2006)
WebCat2b12 forgets serial # (1997)
2.0Beta Command Ref (can't find this instruction) (1997)
[taxRate] [TaxTotal] ? (1997)
TCPConnect to query for Domain expiration (2000)
2.0 Info (1997)
Beta 18 (1997)
WebSTAR 2.1 freezes my Mac (1997)
RE: Force a number with JavaScript (1998)