Matthias,

in my understanding you need to add
the path to the resources where all the
zoneinfo is lacated using "with resource path".


Ralf


> On 5. Sep 2018, at 10:34, Matthias Rebbe via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Hm,
> 
> seems i was a little bit to quick with my answer.
> 
> Loading the .lcm and  “put timezones()” outputs all timezones.
> 
> But executing the following lines
> 
> load extension from file 
> "./extensions/com.livecode.library.timezone/module.lcm"
> put  the seconds into tDate
> put FromUniversaltime(tDate, "Europe/Berlin") into tDate
> convert tDate to dateItems
> put tDate
> 
> returns these errors
> file "/home/xxxxxxx/public_html/xxxxxx/tz.lc"
>  row 4, col 5: extension: error occurred with domain (runtime)
>  row 4, col 5: extension: error occurred with description (unable to load 
> foreign library)
>  row 4, col 5: extension: error occurred with file (timezone.lcb)
>  row 4, col 5: extension: error occurred with line (62)
>  row 4, col 5: extension: error occurred with column (1)
>  row 4, col 5: extension: error occurred with file (timezone.lcb)
>  row 4, col 5: extension: error occurred with line (737)
>  row 4, col 5: extension: error occurred with column (1)
>  row 4, col 5: Function: error in function handler (FromUniversaltime)
>  row 4, col 5: put: error in expression
> 
> This works in LC IDE (w/o Line 1).
> 
> 
> Regards,
> 
> Matthias


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to