fix day representation in seconds