railroad workers working on the tracks at nighttime
people on their last day of work
the time of day someone is working does not indicate how long that person worked there or that they are on their last day.
Nothing in the first sentence implies that this is the workers' last day.
Railroad workers are not assumed to be on their last day of work.