1.6.1
- Implements
lastUpdated()
function onTimetableEntry
class, see example below.
import { YEARS, getLatestTimetableEntry } from "edt-iut-info-limoges";
const entry = await getLatestTimetableEntry(YEARS.A1);
const last_update = await entry.lastUpdated();
console.log(last_update); // DateTime from `luxon`