• 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: DTW date formatting rule...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DTW date formatting rule...


  • Subject: Re: DTW date formatting rule...
  • From: Andrew Lindesay <email@hidden>
  • Date: Wed, 26 Sep 2007 07:27:29 +1200

Hello James;

I tend to put the formatters into the session and then put an accessor in the framework/project's component-superclass to get at the one in the session;

	public Format getFormatterForDateAndTimes()
	{
		return ((Session) context().session()).getFormatterForDateAndTimes();
	}

...then in the bindings...

	formatter = formatterForDateAndTimes;

cheers.

Is there a way to globally format with a rule so that all dates are shown consistently....
right now I have to set them all individually like:
___
Andrew Lindesay
technology : www.lindesay.co.nz
business : www.silvereye.co.nz


_______________________________________________ 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: DTW date formatting rule...
      • From: James Cicenia <email@hidden>
References: 
 >DTW date formatting rule... (From: James Cicenia <email@hidden>)

  • Prev by Date: just a reminder
  • Next by Date: Re: just a reminder
  • Previous by thread: DTW date formatting rule...
  • Next by thread: Re: DTW date formatting rule...
  • Index(es):
    • Date
    • Thread