std.dateparse reincarnation

Jonathan M Davis jmdavisProg at gmx.com
Fri Oct 28 20:18:56 PDT 2011


On Saturday, October 15, 2011 04:21:54 Steve Teale wrote:
> On Thu, 13 Oct 2011 22:09:39 +0300, Vladimir Panteleev wrote:
> > On Thu, 13 Oct 2011 07:22:06 +0300, Jesse Phillips
> > 
> > <jessekphillips+d at gmail.com> wrote:
> >> Thought I would let everyone know that while std.dateparse is
> >> deprecated and will be removed from Phobos in February, I've updated
> >> it
> >> to output a std.datetime.SysTime.
> >> 
> >> https://gist.github.com/1283011
> >> 
> >> I don't have any interest in maintaining it, but since I did use it I
> >> updated it for me.
> > 
> > Time formatting and parsing seems like a gap of missing functionality in
> > Phobos 2.
> > 
> > I've written something to format and parse SysTimes using format strings
> > based on the format PHP uses for its date() function:
> > https://github.com/CyberShadow/ae/blob/master/utils/time.d
> > 
> > Feel free to use this file as public domain.
> 
> Yes, me too. I used to get tremendously frustrated with the old std.date,
> because all I wanted to do was get the current time and write it into a
> log file!

Do you find that frustrating with std.datetime? Or do you find it to be an 
improvement?

- Jonathan M Davis


More information about the Digitalmars-d-announce mailing list