[Issue 12875] [unittest] std.datetime fails: Not a valid tzdata file.

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Jun 7 17:24:22 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=12875

Iain Buclaw <ibuclaw at gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw at gdcproject.org

--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject.org> ---
Even smaller test if you just want to skip to the failing tzdata file.


import std.datetime;
import std.exception;
import std.stdio;

void main()
{
  scope(failure) writefln("TZName which threw: America/Godthab");
  TimeZone.getTimeZone("America/Godthab");
}

--


More information about the Digitalmars-d-bugs mailing list