fix day representation in seconds
Merge remote-tracking branch 'sonata-project/master'