System Date/Time Format Problems

J. Landman Gay jacque at hyperactivesw.com
Sat Jul 2 22:08:41 EDT 2011


On 7/2/11 2:46 PM, Pete wrote:
>
> For dates:
> LC Short = OSX Short
> LC Long = OSX Full
> LC Abbrev = returns a date that is not in any of the OS X formats
> no LC format for OSX medium or long
>
>
> For times:
> LC Short = OSX Short
> LC Abbrev = OSX Short
> LC Long = OSX Medium
> no LC format for OSX Long or full
>
> So if a user tells me he wants his dates in OS X medium or long format, I
> can't find out what that is with LC code, same for an OS X long time.  I'm
> hoping I will be able get hold of all the date/time formats with a shell
> command or with Applescript but no luck yet.  I may have to ask the user to
> define the formats again with my ap ( that goes back to the other thread
> about duplicate object names!)

All I meant was that you already have most of them, and the ones that 
are missing are easy to construct. LiveCode provides all the data. For 
the LC formats that have no OS X equivalent, just don't use those. A 
quick function to construct the ones you do need would be pretty easy.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list