
16 Nov
2010
16 Nov
'10
1 p.m.
On 16 November 2010 11:30, Jon Fairbairn
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