Lines 103-108
Link Here
|
103 |
if( ! field.$target ) |
103 |
if( ! field.$target ) |
104 |
continue; |
104 |
continue; |
105 |
|
105 |
|
|
|
106 |
/* format copyrightdate */ |
107 |
if ( field.target == 'copyrightdate' ) { |
108 |
if ( value.indexOf('-') > -1 ) { |
109 |
var hyphenIndex = value.indexOf('-'); |
110 |
var newval = value.slice(0, hyphenIndex); |
111 |
value = newval; |
112 |
} |
113 |
} |
114 |
|
106 |
/* handle differently depending on datatype */ |
115 |
/* handle differently depending on datatype */ |
107 |
switch(typeString(value)) { |
116 |
switch(typeString(value)) { |
108 |
case 'array': |
117 |
case 'array': |
109 |
- |
|
|