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:
[WriteFile] problems (1997)
Variables in a Prefernce File (2005)
japanese characters (1997)
Upgrade to wsV (2004)
OBDC Support (1997)
Re:2nd WebCatalog2 Feature Request (1996)
OSX 10.2.6/iTools 7.0/WebDNA 5.0 installation (2003)
problems with 2 tags shakur (1997)
WebCatalog sales (1997)
Where is Orders.db appended? (2000)
encryption madness (2003)
I think WebDNA-Talk died ... :( (1997)
F2 to F3 rocky transition (1997)
Document Contains No Data! (1997)
Nav4 not specifying cart (1997)
help with autenticate (1998)
Switch Case Context (2004)
Problem displaying search result (1997)
The IBC root beer has arrived! (1997)
Search Questions (2000)