From c0e818c3a5eff199b307201ff8f5dfccc0bcc977 Mon Sep 17 00:00:00 2001 From: John Whitington Date: Fri, 6 May 2022 18:23:56 +0100 Subject: [PATCH] more --- cpdfstrftime.ml | 1 + 1 file changed, 1 insertion(+) diff --git a/cpdfstrftime.ml b/cpdfstrftime.ml index a1733a6..892bd17 100644 --- a/cpdfstrftime.ml +++ b/cpdfstrftime.ml @@ -126,6 +126,7 @@ let year_day d m y = n1 - n2 * n3 + d - 30 let return_date () = + match Sys.backend_type with Sys.Other "js_of_ocaml" -> dummy | _ -> match Sys.os_type with "Unix" -> (* Call the POSIX 'date' program, redirected to a temp file, and parse. *)