mirror of
				https://github.com/johnwhitington/cpdf-source.git
				synced 2025-06-05 22:09:39 +02:00 
			
		
		
		
	Fixed "now" as a date
This commit is contained in:
		
							
								
								
									
										2
									
								
								cpdf.ml
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								cpdf.ml
									
									
									
									
									
								
							| @@ -418,7 +418,7 @@ let rec process_text text m = | |||||||
|   | (s, r)::t -> process_text (string_replace_all s r text) t |   | (s, r)::t -> process_text (string_replace_all s r text) t | ||||||
|  |  | ||||||
| let expand_date = function | let expand_date = function | ||||||
|   | "now" -> Cpdfstrftime.strftime "D:%Y%m%d%t%M%S" |   | "now" -> Cpdfstrftime.strftime "D:%Y%m%d%H%M%S" | ||||||
|   | x -> x |   | x -> x | ||||||
|  |  | ||||||
| let process_pages f pdf range = | let process_pages f pdf range = | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user