• 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: David Holt <email@hidden>
  • Date: Fri, 29 Jun 2012 15:39:14 -0400

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@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: AjaxAutoComplete not getting request
  • Previous by thread: Re: D2W app and date format problems
  • Next by thread: Help! RE: Deadlock on Apache 2.2 Adaptor under high load
  • Index(es):
    • Date
    • Thread