84ab5a00f5
TypeScript's split()[0] is typed as string | undefined in strict mode. Using slice(0, 10) is cleaner and avoids the type issue. Co-Authored-By: Paperclip <noreply@paperclip.ing>