BUGFIX nightly.dtrans tablename dates

Restore assignment of $dstr, the $year.$month of tables and views.