Selaa lähdekoodia

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

chenyu 1 vuosi sitten
vanhempi
commit
c4494ebb0a

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

@@ -450,9 +450,9 @@
 
 - (NSString *)tagString {
     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]];
-    return [NSString stringWithFormat:@"%@ %d ", dateString,rand()%10000];
+    return dateString;
 }
 
 - (void)showMenuForWidgetAnnotation:(CPDFWidgetAnnotation *)annotation {