
11 Jan
2008
11 Jan
'08
11:44 a.m.
On Thu, Jan 10, 2008 at 11:56:37PM +0100, Felix Martini wrote:
Hello all,
Function getModificationTime in System.Directory returns ClockTime. ClockTime is part of the old-time package. The (new) time package has UTCTime, so i propose a new version of getModificationTime that returns UTCTime instead. I am not sure what a good name for the new version would be, perhaps getModificationUTCTime?
If we do add it with this name, then I think we should also add getModificationClockTime and mark getModificationTime as deprecated. Then we can change the type of getModificationTime at a later date. (by the way, note that Directory.getModificationTime is in Haskell 98) Thanks Ian