revmong a bug of date span calculation