Hi, i am not sure if this is still the way how to do it with newer LC Server versions, but at least it still works with LC 9.6.1
First copy the folder of of the time zone library to your server for example into a folder extension Then, to use the library you'll have to put the following 2 lines before your time zone specific code. set the revLibraryMapping["tz"] to "/home/ua829968/public_html/livecode.dermattes.de/tz-test/extensions/com.livecode.library.timezone/code/x86_64-linux/tz.so" load extension from file "./extensions/com.livecode.library.timezone/module.lcm" //here comes your timezone script In the first line you define where the needed shared libraries are located. It must contain the complete path to the shared libraries. In the above example the shared library for 64bit Linux is used. The second line then loads the extension. Mark Waddingham provided that information here 2 years ago https://www.mail-archive.com/[email protected]/msg97605.html Regards, Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 06.11.2020 um 23:29 schrieb David Bovill via use-livecode > <[email protected]>: > > Just created a handler that I want to use in a Livecode server that uses the > Time Zone Library handler TimeZones(). So: > > 1. How do I find where the library is? > 2. How do I add it so the server code can use it? > > On 6 Nov 2020, 21:28 +0000, How to use LiveCode > <[email protected]>, wrote: >> >> ToUniversalTime > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
