瀏覽代碼

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

chenyu 1 年之前
父節點
當前提交
c4494ebb0a
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      compdfkit-tools/compdfkit-tools/Common/Views/PDFView/PDFListView/CPDFListView+Form.m

+ 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 {