"Stephen P. Smith" writes:
> +check_date_format() {
> + format=$1
> + t=$(($TEST_DATE_NOW - $2))
> + expect=$3
Notice that neither $format nor $1 is used in this test, which means
that "check_date_format" is not a generic "I can take a format
parameter to check the specified one". S
When using `human` several fields are suppressed depending on the time
difference between the reference date and the local computer date. In
cases where the difference is less than a year, the year field is
supppressed. If the time is less than a day; the month and year is
suppressed.
Use TEST_DAT
2 matches
Mail list logo