• 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: Displaying Local Time on a Web Client
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Displaying Local Time on a Web Client


  • Subject: Re: Displaying Local Time on a Web Client
  • From: Chuck Hill <email@hidden>
  • Date: Tue, 31 Mar 2009 17:22:55 -0700


On Mar 31, 2009, at 5:17 PM, Mike Schrag wrote:

And please don't use NSTimestampFormatter if you are using local times it is deprecated and does not work correctly in particular with daylight saving time and such.
It would work correctly if you fixed it. :-)
Added String ERXTimestampUtilities .simpleDateFormatForNSTimestampFormat(String) ... It's definitely wonky -- NSTimestampFormatter definitely seems pretty messed up :) But this could be used to provide a mostly correct cover (so NSTimesatmpFormatter could have-a simpledateformat inside).

Which is what it almost certainly should have been in the first place. And a far better solution than deprecating it, IMO.



Chuck


-- Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects







_______________________________________________ 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: Displaying Local Time on a Web Client
      • From: "Mr. Pierre Frisch" <email@hidden>
References: 
 >Displaying Local Time on a Web Client (From: David Avendasora <email@hidden>)
 >Re: Displaying Local Time on a Web Client (From: Chuck Hill <email@hidden>)
 >Re: Displaying Local Time on a Web Client (From: "Mr. Pierre Frisch" <email@hidden>)
 >Re: Displaying Local Time on a Web Client (From: Chuck Hill <email@hidden>)
 >Re: Displaying Local Time on a Web Client (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: Displaying Local Time on a Web Client
  • Next by Date: Re: Getters without the "get" part
  • Previous by thread: Re: Displaying Local Time on a Web Client
  • Next by thread: Re: Displaying Local Time on a Web Client
  • Index(es):
    • Date
    • Thread