D2W app and date format problems
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