mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-25 09:50:11 +00:00
Adjust date references.
This commit is contained in:
parent
bf34b01367
commit
debd866545
@ -210,7 +210,7 @@ FRESH to JSON Resume conversion routiens.
|
|||||||
|
|
||||||
awards: src.recognition.map(function(awd){
|
awards: src.recognition.map(function(awd){
|
||||||
return {
|
return {
|
||||||
flavor: foreign ? awd.type : undefined,
|
flavor: foreign ? awd.flavor : undefined,
|
||||||
url: foreign ? awd.url: undefined,
|
url: foreign ? awd.url: undefined,
|
||||||
title: awd.title,
|
title: awd.title,
|
||||||
date: awd.date,
|
date: awd.date,
|
||||||
|
@ -284,12 +284,14 @@ Definition of the FRESHResume class.
|
|||||||
end: _fmt( vol.end || 'current' )
|
end: _fmt( vol.end || 'current' )
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
// this.awards && this.awards.forEach( function(awd) {
|
this.recognition && this.recognition.forEach( function(rec) {
|
||||||
// awd.safeDate = _fmt( awd.date );
|
rec.safe = {
|
||||||
// });
|
date: _fmt( rec.date )
|
||||||
this.publications && this.publications.forEach( function(pub) {
|
};
|
||||||
|
});
|
||||||
|
this.writing && this.writing.forEach( function(pub) {
|
||||||
pub.safe = {
|
pub.safe = {
|
||||||
date: _fmt( pub.year )
|
date: _fmt( pub.date )
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user