mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 00:24:40 +00:00
rc: did PHP 7.0.22 flip-flop on dot vs. comma usage in floats?
The same thing happened with 930f7974e. This is a worrying trend.
This commit is contained in:
parent
81aed9877d
commit
dc53c74c07
@ -44,8 +44,8 @@ DATED=
|
||||
for BACKUP in ${BACKUPS}; do
|
||||
DATETIME=${BACKUP#*config-}
|
||||
DATETIME=${DATETIME%.xml}
|
||||
SUBSEC=${DATETIME#*.}
|
||||
DATETIME=${DATETIME%.*}
|
||||
SUBSEC=${DATETIME#*[.,]}
|
||||
DATETIME=${DATETIME%[.,]*}
|
||||
# write a line with all required info that is prefixed
|
||||
# with a sortable time stamp for our next step...
|
||||
DATED="${DATED}$(date -r ${DATETIME} '+%Y-%m-%dT%H:%M:%S').${SUBSEC} ${DATETIME} ${BACKUP}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user