With a php date format of:
\W\e\e\k W\: m-Y

An example date should read:
Week 31: 08-2012

However, the query from this module (taken from views SQL output) parses as:
\%v\e\e\k %v \: %m-%Y

Resulting in:
\31eek 31: 08-2012

Is there a way to allow this to recognize characters after backslashes as non-date elements for the purposes of display?

Comments

zany’s picture

Title: Support for Text In Date » Support for escaped Text In SQL Date formatting
Project: Views Date Format SQL » Views (for Drupal 7)
Version: 7.x-3.1 » 7.x-3.x-dev
Priority: Normal » Minor

Nice catch. However this is a feature to implement (bug?) in views' views_date_sql_format() function from includes/handlers.inc. I.e. http://drupalcode.org/project/views.git/blob/HEAD:/includes/handlers.inc...