Merge from trunk

This commit is contained in:
Charles Haley 2011-03-03 18:06:46 +00:00
commit 9fe80ab4a6
2 changed files with 1 additions and 2 deletions

View File

@ -145,7 +145,7 @@ class CreateCustomColumn(QDialog, Ui_QCreateCustomColumn):
{
'isbn': '{identifiers:select(isbn)}',
'formats': '{formats}',
'last_modified':'''{last_modified:'format_date($, "%d %m, %Y")'}'''
'last_modified':'''{last_modified:'format_date($, "dd MMM yy")'}'''
}[which])
self.composite_sort_by.setCurrentIndex(2 if which == 'last_modified' else 0)

View File

@ -469,7 +469,6 @@ class BuiltinFormat_date(BuiltinFormatterFunction):
'yyyy : the year as four digit number.')
def evaluate(self, formatter, kwargs, mi, locals, val, format_string):
print val
if not val:
return ''
try: