[Issue 13368] std.datetime.monthToString should be public

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Aug 24 09:51:18 PDT 2014


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

Jonathan M Davis <jmdavisProg at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jmdavisProg at gmx.com
         Resolution|---                         |WONTFIX

--- Comment #1 from Jonathan M Davis <jmdavisProg at gmx.com> ---
Sorry, but it was decided some time ago, that nothing in std.datetime which
deals with English would be made public, because that opens the question of
internationalization, and std.datetime is not the place for that. In addition,
IMHO, it was a mistake to include any of the functionality in std.datetime
which involves the names of months in strings (in particular toSimpleString and
fromSimpleString). It's an unnecessary and not particularly useful
complication, and it results in questions about internationlization. So, we're
not about to expose any of the functions that deal with English. If you see any
functionality in there that you want that is not public, feel free to copy it
into your own codebase. It's boost licensed, whose only restriction is that the
code is supposed to retain the copyright. And for something this small and
simple, I don't even care if you do that, and I wrote the code.

--


More information about the Digitalmars-d-bugs mailing list