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

NSTimestamp bug??


  • Subject: NSTimestamp bug??
  • From: Tom Pelaia <email@hidden>
  • Date: Mon, 05 Apr 2004 11:25:26 -0400
  • Organization: ORNL/SNS

It appears to me that the timestampByAddingGregorianUnits() method of NSTimestamp does not properly handle changing by day increments. The documentation claims that the method preserves "clock time" across daylight savings changes, but that doesn't appear to be happening in my application. Instead when I start from 00:00 on today (Monday) and go back one day I get 23:00 on Saturday. Has anyone else seen this issue or does it indicate something wrong with the system clock on our server?

thanks,
-tom

--
Tom Pelaia
SNS Project, 701 Scarboro Road, MS-6473, Oak Ridge, TN 37830
phone: (865)574-6421, fax: (865)574-6617
_______________________________________________
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.


  • Follow-Ups:
    • Re: NSTimestamp bug??
      • From: Chuck Hill <email@hidden>
    • Re: NSTimestamp bug??
      • From: Jonathan Rochkind <email@hidden>
  • Prev by Date: Destroying a page instance
  • Next by Date: Re: Synchronizing data displayed by two instances of my app
  • Previous by thread: Re: Destroying a page instance
  • Next by thread: Re: NSTimestamp bug??
  • Index(es):
    • Date
    • Thread