From 6c2406ac861f42536acb76606c90412324a0e733 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 4 Jun 2010 18:19:15 +0200 Subject: date: optional support for %N. Closes bug 1861. function old new delta date_main 862 1090 +228 clock_gettime - 41 +41 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 1/0 up/down: 269/0) Total: 269 bytes Signed-off-by: Denys Vlasenko --- coreutils/Config.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'coreutils/Config.in') diff --git a/coreutils/Config.in b/coreutils/Config.in index ead632a31..37e885c1c 100644 --- a/coreutils/Config.in +++ b/coreutils/Config.in @@ -115,6 +115,13 @@ config FEATURE_DATE_ISOFMT Enable option (-I) to output an ISO-8601 compliant date/time string. +config FEATURE_DATE_NANO + bool "Support %[num]N nanosecond format specifier" + default y + depends on DATE + help + Support %[num]N format specifier. Adds ~250 bytes of code. + config FEATURE_DATE_COMPAT bool "Support weird 'date MMDDhhmm[[YY]YY][.ss]' format" default y -- cgit v1.2.3