werelate / wiki

wiki code for WeRelate.org
GNU General Public License v2.0
11 stars 10 forks source link

refactored editDate and getYear #37

Closed JanetBjorndahl closed 4 years ago

JanetBjorndahl commented 4 years ago

DateHandler - refactored editDate so that parsing (parseDate) can be reused Moved getYear to DateHandler and refactored it to use parseDate, which allowed for improved functionality (getYear yet to be removed from StructuredData) Split getYear into getYear and getEffectiveYear (now that parsing can be shared through parseDate) Pointed other code to DateHandler getYear and getEffectiveYear