Pagination by content date

I want to create pagination based on date of content, each pagination page hold published contents for that date.

I try this with no luck

{{ $paginator := .Paginate (.Site.RegularPages.GroupByDate "2006-01-01")}}					
{{ template "_internal/pagination.html" . }}
{{range $paginator.Pages}}
    <h4><a href="{{ .RelPermalink }}">{{ .Title}}</a></h4>
{{ end }}	

Some discussion on this here: