On Mon, Feb 05, 2018 at 08:13:10PM -0600, David Wright wrote:
But how would you deal with the simplest (to express) problem of all, that of $ date -d 1/2/18 Tue Jan 2 00:00:00 CST 2018 $ which would mean a battery of locale-specific rules.
Yup. You'd need to accept something (probably iso8601) by default, then require a format specifier for anything else. "locale specific formatting rules" is one possible format specifier, but that should be explicit.
Mike Stone