1
0
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:
devlinjd 2015-11-21 03:11:18 -05:00
parent bf34b01367
commit debd866545
2 changed files with 8 additions and 6 deletions

View File

@ -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,

View File

@ -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 )
}; };
}); });
} }