diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-06-04 18:19:15 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-06-04 18:19:15 +0200 |
commit | 6c2406ac861f42536acb76606c90412324a0e733 (patch) | |
tree | e5a06a205f1590eadb267a78bb3a706f359243d3 /coreutils/Config.in | |
parent | 8878c24c7d15fe0d4df73aa8477251c6583f5157 (diff) |
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 <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/Config.in')
-rw-r--r-- | coreutils/Config.in | 7 |
1 files changed, 7 insertions, 0 deletions
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 |