We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2061157 commit 3dbf7d4Copy full SHA for 3dbf7d4
2 files changed
CHANGELOG.md
@@ -18,6 +18,10 @@
18
19
- See [issue #78](https://github.com/daypack-dev/timere/issues/78)
20
21
+## Timedesc 3.1.2
22
+
23
+- Removed use of `String.starts_with` in `timedesc-tzlocal` so it builds on OCaml 4.11
24
25
## Timedesc 3.1.1
26
27
- Refreshed tzdb
timedesc-tzlocal/unix/timedesc_tzlocal.ml
@@ -36,7 +36,7 @@ let local () : string list =
36
match Sys.getenv_opt "TZ" with
37
| Some name -> (
38
let name =
39
- if String.starts_with ~prefix:":" name then (
+ if name.[0] = ':' then (
40
String.sub name 1 (String.length name - 1)
41
) else (
42
name
0 commit comments