fix find
This commit is contained in:
parent
ab789fcfb4
commit
6a9b60ddca
2 changed files with 4 additions and 2 deletions
|
@ -261,8 +261,8 @@ Ox.AnnotationPanel = function(options, self) {
|
|||
isString ? [
|
||||
{},
|
||||
{id: 'annotation', title: annotationTitle, disabled: true},
|
||||
{id: 'find', title: Ox._('Find in This {0}', Ox.toTitleCase(self.options.itemName.singular))},
|
||||
{id: 'findannotations', title: Ox._('Find in All {0}', Ox.toTitleCase(self.options.itemName.plural))}
|
||||
{id: 'find', title: Ox._('Find in This {0}', [Ox.toTitleCase(self.options.itemName.singular)])},
|
||||
{id: 'findannotations', title: Ox._('Find in All {0}', [Ox.toTitleCase(self.options.itemName.plural)])}
|
||||
] : []
|
||||
),
|
||||
maxWidth: 256,
|
||||
|
|
|
@ -252,6 +252,8 @@ Ox.makeDate <f> Takes a date, number or string, returns a date
|
|||
'1970'
|
||||
> Ox.formatDate(Ox.makeDate('1970-05'), '%Y-%m')
|
||||
'1970-05'
|
||||
> Ox.formatDate(Ox.makeDate(Ox.parseDate('-50')), '%Y')
|
||||
'-50'
|
||||
@*/
|
||||
Ox.makeDate = function(date) {
|
||||
// Safari 4/5 (<= 534.59.10) doesn't parse YYYY, YYYY-MM or YYYY-MM-DD
|
||||
|
|
Loading…
Reference in a new issue