Add quarter diff support
Merge pull request #2131 from ichernev:diff-quarter

Add quarter diff support