Fixed "now" as a date
This commit is contained in:
parent
713f265cde
commit
97928bc5a0
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 =
|
||||||
|
|
Loading…
Reference in New Issue