Test results for D on Android/ARM

Vladimir Panteleev via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Wed Nov 4 09:26:32 PST 2015


On Monday, 2 November 2015 at 16:27:57 UTC, Joakim wrote:
>> All tests pass except std.datetime, both APK and CLI.
>>
>> Seems to be failing on these lines:
>>
>>                     assert(to!string(ourTimeInfo.tm_zone) ==
>>                                      
>> to!string(osTimeInfo.tm_zone));
>
> Yeah, it appears that that time zone string is being set 
> wrongly only on your device.  I'm not that familiar with 
> std.datetime: once I wrote some code to extract timezone data 
> from the two different versions of Android's concatenated 
> timezone file, everything just worked.  If you don't mind, I'll 
> send you a small binary that'll produce log output that'll help 
> track this issue down.

Sure.

How do I see the timezone string that's been set on my device? 
Maybe this is why my phone is showing the wrong time when roaming 
:)



More information about the digitalmars-d-ldc mailing list