diff --git a/ulib/.ulib_version b/ulib/.ulib_version index 8f92bfd..7facc89 100644 --- a/ulib/.ulib_version +++ b/ulib/.ulib_version @@ -1 +1 @@ -35 +36 diff --git a/ulib/base b/ulib/base index 3490d85..85f6f8e 100644 --- a/ulib/base +++ b/ulib/base @@ -868,12 +868,9 @@ function parse_date() { }')" esac case "$type" in - d|date) - awk '{ print strftime("%d/%m/%Y", $0 + 0) }' <<<"$value" - ;; - l|ldap) - awk '{ print strftime("%Y%m%d%H%M%S+0400", $0 + 0) }' <<<"$value" - ;; + d|date) awk '{ print strftime("%d/%m/%Y", $0 + 0) }' <<<"$value";; + l|ldap) awk '{ print strftime("%Y%m%d%H%M%S+0400", $0 + 0) }' <<<"$value";; + m|mysql) awk '{ print strftime("%Y-%m-%d", $0 + 0) }' <<<"$value";; *) rawecho "$value" ;;