Can not use datetime on Android

51 views
Skip to first unread message

ocean pear

unread,
Jul 6, 2015, 5:18:18 AM7/6/15
to haxe...@googlegroups.com
I has installed datetime on haxe (haxelib install datetime) to get timezone offset. It run ok on Neko. But when I run on Android (haxelib test android), it runtime error. What's wrong?
Please help me. 
Thanks.

import datetime.Timezone;
class DateHelper 
{
    public function getTimeZone():Void{
        trace(Timezone.local().getOffset(Date.now()));
    }
}

Mark Knol

unread,
Jul 8, 2015, 4:18:48 PM7/8/15
to haxe...@googlegroups.com
I think you better ask the author on github https://github.com/RealyUniqueName/DateTime
..or ask it on stackoverflow.
Reply all
Reply to author
Forward
0 new messages