• 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
Localised dates in D2J
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Localised dates in D2J


  • Subject: Localised dates in D2J
  • From: Ray Ackland <email@hidden>
  • Date: Sun, 28 Sep 2003 10:44:00 +1200

I have found that the default date format string in my D2J applications is "%m/%d/%Y". I see that the default rule group has a rule:
LHS: ((not (attribute = null)) and (attribute.className = 'com.webobjects.foundation.NSTimestamp'))
RHS:
custom: com.webobjects.eogeneration.rules.EOAssignment
Key: formatPattern
Value: "localizedDateFormatPattern"


The documentation for the given EOAssignment class lists the mentioned method "localizedDateFormatPattern", but gives no description of it.

I would expect that this default rule would automatically set the format pattern for the app to be the localised one. Can someone tell me how to set this localised format in OS X? I have set the date format in the System Preferences > International > Date, as well as setting the language settings to the order Australian English / UK English / English (I am in New Zealand).

I can set a rule myself to make the default format %d/%m/%Y, but then it would be fixed on this format.

Ray.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: CSS calling background images in a web application
  • Next by Date: WOLongResponsePage
  • Previous by thread: Re: CSS calling background images in a web application
  • Next by thread: WOLongResponsePage
  • Index(es):
    • Date
    • Thread