On 16 November 2010 11:30, Jon Fairbairn <[email protected]> wrote:
> I'm probably terribly out of date with this, so I wonder if > anyone can save me the bother of working out what the > /preferred/ libraries are for (a) determining the > last-modified-time of a file or directory and (b) manipulating > the resulting time datum. > > I can find System.Directory.getModificationTime and > Data.Time.formatTime, but using them together seems unduly > awkward. > Yep, it's still awkward. The annoying thing is these base libraries still use the old time libraries. Here's me having to use both because of getModificationTime: https://github.com/chrisdone/amelie/blob/master/src/Amelie/Import.hs
_______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
