1 comment (1 comment)0 reactions (0 reactions)0 assignees (0 assignees)Java33,728 stars (33,728 stars)7,599 forks (7,599 forks)batch import
help wanted
Description
问题描述
这是一个无实体的模板导出,我需要将某一列是时间类型的数据指定特定的时间格式. 我是读库获取需要导出的字段,并判断是否是时间类型,所以一切都是动态的,请问能实现吗? 未指定格式时:
期待效果
Contributor guide
- Tech stack
- java
- Domain
- backend
- Issue type
- feature
- DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
- 3
- Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
- 1-3 hours
- Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
- fresh
- ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
- mostly clear
- Prerequisites
- JavaEasyExcel basics
- Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
- 40
- Research direction
- This issue asks how to specify a custom time format for a column in a non entity export template. The user retrieves fields dynamically from a database and needs to apply a time format to date type columns. Review EasyExcel's documentation and source code for custom cell formatting in non entity exports. Look for classes like WriteCellData, CellStyle, or CustomConverter that allow runtime format configuration. Consider if there is a built in annotation or configuration for dynamic date formatting, or if a custom converter is required. The maintainer may have provided hints in the comment (not visible here).