Browse Source

PDFTools(iOS) - 修复Filed name命名问题

chenyu 1 year ago
parent
commit
c4494ebb0a

+ 2 - 2
compdfkit-tools/compdfkit-tools/Common/Views/PDFView/PDFListView/CPDFListView+Form.m

@@ -450,9 +450,9 @@
 
 
 - (NSString *)tagString {
 - (NSString *)tagString {
     NSDateFormatter *formatter = [[NSDateFormatter alloc ] init];
     NSDateFormatter *formatter = [[NSDateFormatter alloc ] init];
-    [formatter setDateFormat:@"YYYY-MM-dd hh:mm:ss"];
+    [formatter setDateFormat:@"YYYY-MM-dd HH:mm:ss"];
     NSString *dateString = [formatter stringFromDate:[NSDate date]];
     NSString *dateString = [formatter stringFromDate:[NSDate date]];
-    return [NSString stringWithFormat:@"%@ %d ", dateString,rand()%10000];
+    return dateString;
 }
 }
 
 
 - (void)showMenuForWidgetAnnotation:(CPDFWidgetAnnotation *)annotation {
 - (void)showMenuForWidgetAnnotation:(CPDFWidgetAnnotation *)annotation {