hasadna / hasadna/dear-diary

Date format parsing

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Some of the calenders flip the date format from DD/MM/YYYY to MM/DD/YYYY.

This calender got this bug for example
https://dear-diary.hasadna.org.il/calendars/78411

This event should by from 5th of marh to 6th of march but became from 3th of may to the 3 of june.
![image](https://github.com/hasadna/dear-diary/assets/30901226/7039fa4e-7c07-4540-a079-38841baf284e)

If the end timestamp of calender is bigger than today, probably it got this bug

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the date conversion for calendar 78411 at the linked URL and trace the Python entry point that parses its dates. Compare the DD/MM/YYYY and MM/DD/YYYY interpretations, including the end timestamp. Done means affected calendars retain the intended dates and the reported March event is no longer shifted into May or June.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.