我企图在RTF模板中用两种方法来格式化日期。但结果都没有生效,不知道为什么 郁闷啊?
方法1
To use the default option using the Microsoft method, set the Type to Date, set
the Date format field 'DD-MON-YYYY' in the Text Form Field Options dialog.
方法2
1). Open the Form Field Options dialog box for the placeholder field.
2). Set the Type to Regular Text.
3). Select the Add Help Text... button to open the Form Field Help Text dialog.
To use the Microsoft format mask or the Oracle format mask, the date from the XML
data source must be in canonical format. This format is:
YYYY-MM-DDThh:mm:ss+HH:MM
而我的XML中的data source格式为‘DD-MON-RR’.
结论:有关是data source格式的问题导致没办法转需要日期格式。(感觉太傻了吧)