• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: D2W app and date format problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: D2W app and date format problems


  • Subject: Re: D2W app and date format problems
  • From: Jesse Tayler <email@hidden>
  • Date: Fri, 29 Jun 2012 15:07:24 -0400

ok, well, rules have to be either MORE specific or HIGHER priority of they are the same logic.

without knowing the trouble, I would pick up the rule which is currently setting your date format, and copy it -

if you can make it more specific, you're all set -- if you can't then raise the priority.

debugging rules is hard, but if you are entirely stuck, there are ways to show what rules are firing, by what logic and in what context but in my experience, the method above has proven reliable for me.


CEO
415-990-9737



On Jun 29, 2012, at 2:47 PM, Tim Worman <email@hidden> 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@hidden> 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@hidden> 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@hidden)
>>>> Help/Unsubscribe/Update your Subscription:
>>>>
>>>> This email sent to email@hidden
>>>
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >D2W app and date format problems (From: Tim Worman <email@hidden>)
 >Re: D2W app and date format problems (From: Mark Wardle <email@hidden>)
 >Re: D2W app and date format problems (From: Tim Worman <email@hidden>)
 >Re: D2W app and date format problems (From: Tim Worman <email@hidden>)

  • Prev by Date: Re: D2W app and date format problems
  • Next by Date: Re: D2W app and date format problems
  • Previous by thread: Re: D2W app and date format problems
  • Next by thread: Re: D2W app and date format problems
  • Index(es):
    • Date
    • Thread