[m-rev.] diff: gmtime_to_timestamp_2

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Nov 4 05:30:05 AEDT 2003


On 03-Nov-2003, Peter Ross <pro at missioncriticalit.com> wrote:
> Estimated hours taken: 2
> Branches: main
> 
> compiler/timestamp.m:
> 	Implementation of gmtime_to_timestamp_2 in C#.

That's OK, but it would be better to just rewrite this in Mercury.
It's just a call to string__format, isn't it?

e.g.
	string__format("%d-%02d-%02d %02d-%02d-%02d", ...)

or something along those lines.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list