• 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
D2W app and date format problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

D2W app and date format problems


  • Subject: D2W app and date format problems
  • From: Tim Worman <email@hidden>
  • Date: Thu, 28 Jun 2012 19:55:00 -0700

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

  • Follow-Ups:
    • Re: D2W app and date format problems
      • From: Mark Wardle <email@hidden>
  • Prev by Date: Custom D2W Navigation
  • Next by Date: Re: D2W app and date format problems
  • Previous by thread: Re: Custom D2W Navigation
  • Next by thread: Re: D2W app and date format problems
  • Index(es):
    • Date
    • Thread