Agreed, not worth it. Thanks for the pointer! On Mon, Jan 7, 2019, 3:11 PM Assaf Gordon <assafgor...@gmail.com wrote:
> Hello, > > On 2019-01-07 3:04 p.m., Phil Oertel wrote: > > I propose a new formatting option for millis past the nearest > second[..] And > > sure, one for micro too. > > > > You could do this already by truncating digits from nanos, but it'd be a > > lot more convenient if date had an option, and hopefully not too hard to > > add. > > As you wrote, it's very easy to do with truncating (i.e., adding a width > specifier): > > $ date +"%3N %6N %N" > 892 892103 892103049 > > Since it's only adding a single digit, I'm not sure consuming two > more dedicated letters is worth it. > > regards, > - assaf > >