Display only the month and year as title and not the first day of the month

Solution:
Add one "_"(underscore) in /profiles/opigno_lms/modules/contrib/date/date_views/theme/theme.inc in line 168 and 169 for format_with_year and format_without_year.

The code is
"$format_with_year = variable_get('date_views_' . $granularity . '_format_with_year', 'l, F j, Y');
$format_without_year = variable_get('date_views_' . $granularity . '_format_without_year', 'l, F j');"

after that go to /admin/config/regional/date-time/date-views and click save, clear the catch.

Comments

axelm’s picture

.

axelm’s picture

Issue summary: View changes
axelm’s picture

Issue summary: View changes
intu.cz’s picture

I had this problem and I can confirm this solution works!

The only quirk was that the month was coming without the year, so I added a "Y" to format without year and everything is now as intended. (Is there a place where one changes format with year to format without year and viceversa?)

Thanks for the solution

Roman

PD: BTW this issue affects probably the Date Views submodule in general, not just in this Drupal distribution.

Jamesap’s picture

axelm’s picture

Status: Patch (to be ported) » Closed (fixed)