mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-12-25 22:37:24 +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){
|
||||
return {
|
||||
flavor: foreign ? awd.type : undefined,
|
||||
flavor: foreign ? awd.flavor : undefined,
|
||||
url: foreign ? awd.url: undefined,
|
||||
title: awd.title,
|
||||
date: awd.date,
|
||||
|
@ -284,12 +284,14 @@ Definition of the FRESHResume class.
|
||||
end: _fmt( vol.end || 'current' )
|
||||
};
|
||||
});
|
||||
// this.awards && this.awards.forEach( function(awd) {
|
||||
// awd.safeDate = _fmt( awd.date );
|
||||
// });
|
||||
this.publications && this.publications.forEach( function(pub) {
|
||||
this.recognition && this.recognition.forEach( function(rec) {
|
||||
rec.safe = {
|
||||
date: _fmt( rec.date )
|
||||
};
|
||||
});
|
||||
this.writing && this.writing.forEach( function(pub) {
|
||||
pub.safe = {
|
||||
date: _fmt( pub.year )
|
||||
date: _fmt( pub.date )
|
||||
};
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user