Fixed bug

Where the pub date was doing some wrong