bengbengbalabalabeng commented on issue #663:
URL: https://github.com/apache/fesod/issues/663#issuecomment-3465808701

   @haoyang7 
   
   Try a temporary method to fix it first?
   先尝试临时方法修复?
   
   ```java
   public static class TimestampConverter implements Converter<Timestamp> {
           @Override
           public Class<Timestamp> supportJavaTypeKey() {
               return Timestamp.class;
           }
   
           @Override
           public CellDataTypeEnum supportExcelTypeKey() {
               // FIXME: Temporarily return null
               return null;
           }
   
           @Override
           public WriteCellData<?> convertToExcelData(Timestamp timestamp, 
ExcelContentProperty contentProperty,
                                                      GlobalConfiguration 
globalConfiguration) throws Exception {
               return new 
WriteCellData<>(FastDateFormat.getInstance("yyyy-MM-dd").format(timestamp));
           }
       }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to