String formatBackofficeDateTime(Object? value) {
  final raw = value?.toString().trim() ?? '';
  if (raw.isEmpty) return '时间未知';

  final normalized = raw.replaceFirst('T', ' ');
  return normalized.length <= 16 ? normalized : normalized.substring(0, 16);
}

String backofficeInitial(Object? value) {
  final text = value?.toString().trim() ?? '';
  return text.isEmpty ? '?' : text.substring(0, 1);
}
