Use supported dateformats to test date value and guess the dateformat

Replace deprecated stub! with stub

Use date format to test instead of regex

Expose index

Set format for fallback

Revert "Ignore Rubymine files"

This reverts commit 004c4f062b2e8f7487f83d3937e64031a0bd2708.