• 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
NSTimestamp problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTimestamp problem


  • Subject: NSTimestamp problem
  • From: Dan Faber <email@hidden>
  • Date: Mon, 18 Dec 2006 18:31:09 -0700

Hi everyone:

I have just run into an apparent NSTimestamp problem. I have a scheduling program, and it has been working well. Recently we tried to schedule an appt for March, and the NSTimestamp is giving us back a time that is one hour earlier than the time that is designated. This occurs between March 11 and March 31, 2007, a 3 week period. The problem does not seem to occur for dates before that period or afterwards. It does not appear to be an NSTimestampFormatter problem, as it exists with or without using the formatter.

The time is correct in the database after a save, but it immediately gets displayed an hour early. The problem occurs with two different versions of the mysql-connector (including the most recent). It occurs on two different machines, both running OSX version 10.4.8.

Converting the date to java.util.GregorianCalendar appears to produce the correct result for java.util.GregorianCalendar.HOUR_OF_DAY.

So far I have not seen anything on the list about this. Anyone have any ideas what's up?

Dan Faber
_______________________________________________
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: NSTimestamp problem
      • From: "Jerry W. Walker" <email@hidden>
  • Prev by Date: Re: XCode and debugging - Ugly workaround found.
  • Next by Date: Re: EOGenericObject problem
  • Previous by thread: Re: D2WS & Fetch Specs
  • Next by thread: Re: NSTimestamp problem
  • Index(es):
    • Date
    • Thread