From b328a5c5b782d2ffd93b3f1079e0931d6825124b Mon Sep 17 00:00:00 2001 From: Erik Oosterop Date: Sat, 6 Jul 2024 16:02:43 +0000 Subject: [PATCH] Fix time formats in json. --- CHANGELOG.md | 5 +++++ pyproject.toml | 2 +- src/crewcal/llm_prompts.py | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7998479..2444e97 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Consider downgrading Python requirement (at least to 3.10, but I dont know how low it can gowhere) +## [0.8.3] + +### Fixed +- +1 for next date now no longer causing json issues. Stopped working with the same OpenAI model after previous fix. + ## [0.8.2] ### Fixed diff --git a/pyproject.toml b/pyproject.toml index cd5f95f..391ef8e 100755 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ disallow_incomplete_defs = true [tool.poetry] name = "crewcal" -version = "0.8.2" +version = "0.8.3" description = "Convert an airline crew schedule pdf into iCalendar format." authors = ["Erik Oosterop "] license = "MIT" diff --git a/src/crewcal/llm_prompts.py b/src/crewcal/llm_prompts.py index e10b066..a66e842 100755 --- a/src/crewcal/llm_prompts.py +++ b/src/crewcal/llm_prompts.py @@ -19,7 +19,7 @@ - Destination airport name - Destination timezone - Arrival date. A '+1' means the next day. -- Arrival time, the last occurrence of a time for each day. A '+1' means the next day. +- Arrival time, the last occurrence of a time for each day. A '+1' means the next day. Only capture HH:mm format. - List of crew members - A list of all times found. - List of all airport codes.