Thursday, January 19, 2017

#1 2008-01-16 02:19:36 am

Kevin Bradley
Administrator
From: Independence, MO
Registered: 2006-03-13
Posts: 548
Website

Current date converted to ISO date/time text string bug

While the following two lines are equivalent in OS X 10.4 Tiger:

Applescript:


(current date) as «class isot» as text
(current date) as «class isot» as string

in 10.5 Leopard the first line generates an error that states "Can’t make [data] into type Unicode text."  This, despite the fact that both text and string were moved to unicode text in Applescript 2.0.

Thanks to Bruce Phillips for finding this one!


Nitewing '98
--
I distrust morning people, largely because I suspect them of getting together early one day while the rest of us were asleep and setting up the rules of civilization.

Offline

 

Board footer

Powered by FluxBB

[ Generated in 0.033 seconds, 8 queries executed ]

RSS (new topics) RSS (active topics)