chore: fix timezone handling
This commit is contained in:
parent
e8dc2013bc
commit
5dca68037d
7 changed files with 194 additions and 94 deletions
|
|
@ -26,7 +26,9 @@ fn all_files() -> Result<Vec<LocalizedShard>, StreamdError> {
|
|||
let content = fs::read_to_string(path)?;
|
||||
let stream_file = parse_markdown_file(&file_name, &content);
|
||||
|
||||
if let Ok(shard) = localize_stream_file(&stream_file, &TaskConfiguration) {
|
||||
if let Ok(shard) =
|
||||
localize_stream_file(&stream_file, &TaskConfiguration, chrono_tz::UTC)
|
||||
{
|
||||
shards.push(shard);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue