20 : smartAttribute.className = 'com.webobjects.foundation.NSTimestamp' => 
formatter = "%b %d,%Y" [com.webobjects.directtoweb.Assignment]

This is the default rule from ERDirectToWeb. Sounds like your dates are not 
displaying with that format either?

How is the date being stored in the database? Have you made a comparison with 
how it displays??

David

On 2012-06-29, at 2:47 PM, Tim Worman wrote:

> Does anyone have any further troubleshooting suggestions for this? I can't 
> seem to find any way around it.
> 
> Tim
> UCLA GSE&IS
> 
> On Jun 29, 2012, at 1:55 AM, Tim Worman <[email protected]> wrote:
> 
>> I tried that earlier too. I set the priority on my rule to 200.
>> 
>> T
>> 
>> On Jun 28, 2012, at 11:59 PM, Mark Wardle <[email protected]> wrote:
>> 
>>> Try setting a really high priority as a test. 
>>> 
>>> -- 
>>> Dr. Mark Wardle
>>> Sent with mobile
>>> 
>>> On Friday, 29 June 2012 at 03:55, Tim Worman wrote:
>>> 
>>>> Hi all:
>>>> 
>>>> I've got the following rule in my user.d2wmodel file to try and clobber 
>>>> the display of all dates in my ERModern D2W app.
>>>> 
>>>> 100 : (smartAttribute.className = 'com.webobjects.foundation.NSTimestamp' 
>>>> or propertyKey like '*date*') => formatter = "%m/%d/%Y" 
>>>> [com.webobjects.directtoweb.Assignment]
>>>> 
>>>> Even with the rule, dates are displaying as such: "1997-12-23 08:00:00 
>>>> Etc/GMT"
>>>> 
>>>> The database is MySQL and the date attributes in question are modeled as 
>>>> date and the class is NSTimestamp. I've tried everything I've found via 
>>>> google and I'm out of ideas. Anybody that can get me unstuck on this?
>>>> 
>>>> Tim
>>>> UCLA GSE&IS
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list ([email protected])
>>>> Help/Unsubscribe/Update your Subscription:
>>>> https://lists.apple.com/mailman/options/webobjects-dev/mark%40wardle.org
>>>> 
>>>> This email sent to [email protected]
>>> 
>> 
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
>> 
>> This email sent to [email protected]
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to