ajout du type mysql pour parse_date
This commit is contained in:
parent
abd197b843
commit
7817ebf8d1
|
@ -1 +1 @@
|
||||||
35
|
36
|
||||||
|
|
|
@ -868,12 +868,9 @@ function parse_date() {
|
||||||
}')"
|
}')"
|
||||||
esac
|
esac
|
||||||
case "$type" in
|
case "$type" in
|
||||||
d|date)
|
d|date) awk '{ print strftime("%d/%m/%Y", $0 + 0) }' <<<"$value";;
|
||||||
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";;
|
||||||
l|ldap)
|
|
||||||
awk '{ print strftime("%Y%m%d%H%M%S+0400", $0 + 0) }' <<<"$value"
|
|
||||||
;;
|
|
||||||
*)
|
*)
|
||||||
rawecho "$value"
|
rawecho "$value"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue