Hello,
could you help me to understand the display value of a cell that use “14” (m/d/yy) as built-in number format, please?
We use Aspose Cells 24.1 and we have used this documentation to implement our code.
After an initial testing, I noticed the issue/behavior you have described for the built-in number format (value) “14” (m/d/yy). We will evaluate if this expected behavior or an issue. We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): CELLSJAVA-45849
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
For built-in number format 14, the pattern changes according to the regional settings of the environment for both of ms excel and Aspose.Cells. So, please check the environment firstly:
Please check the default date time format of the regional settings for the environment where to run the application with Aspose.Cells, If the year pattern is “yyyy”, then the application should give the result as “yyyy” instead of “yy”.
For Aspose.Cells for Java, we get the pattern from the DateFormat instance of DateFormat.SHORT. So please check whether this instance can give the expected result as “yy” instead of “yyyy”. Code example:
If it gives “yyyy” instead of the expected “yy”, we are afraid there are some issue with the configuration of regional settings for the java environment itself.