Fix timestamps for period generation
Merge pull request #3 from frdmn/master

Fix timestamps for period generation