• 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: Numbers Daylight Savings Bug Still Active?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Numbers Daylight Savings Bug Still Active?


  • Subject: Re: Numbers Daylight Savings Bug Still Active?
  • From: Shane Stanley <email@hidden>
  • Date: Tue, 14 Feb 2017 14:33:19 +1100

On 7 Feb 2017, at 10:47 pm, Shane Stanley <email@hidden> wrote:

set correctedValue to cellValue + (tz's daylightSavingTimeOffsetForDate:((current date) - (tz's daylightSavingTimeOffsetForDate:cellValue)))

So somehow the parentheses got misplaced. That should be:

set cellValueCorrected to cellValue + (tz's daylightSavingTimeOffsetForDate:(current date)) - (tz's daylightSavingTimeOffsetForDate:cellValue)


-- 
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Numbers Daylight Savings Bug Still Active? (From: Christopher Stone <email@hidden>)
 >Re: Numbers Daylight Savings Bug Still Active? (From: Shane Stanley <email@hidden>)

  • Prev by Date: Photos.app – Selecting an Album
  • Next by Date: Re: Converting CSV (or TAB or XSLX) Files to KML
  • Previous by thread: Re: Numbers Daylight Savings Bug Still Active?
  • Next by thread: Re: Numbers Daylight Savings Bug Still Active?
  • Index(es):
    • Date
    • Thread