Bug 486495 - Importing Indian rail ticket PDF does not import departure time
Summary: Importing Indian rail ticket PDF does not import departure time
Status: RESOLVED FIXED
Alias: None
Product: KDE Itinerary
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Android Android 12.x
: NOR normal
Target Milestone: ---
Assignee: Volker Krause
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-03 09:56 UTC by Yogesh
Modified: 2024-05-03 16:47 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshot of itinerary on Android showing arrival time but no departure time (187.05 KB, image/png)
2024-05-03 09:56 UTC, Yogesh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yogesh 2024-05-03 09:56:02 UTC
Created attachment 169128 [details]
Screenshot of itinerary on Android showing arrival time but no departure time

SUMMARY

Importing a rail ticket booked on IRCTC (the de-facto booking platform for Indian rail) fails to include the departure time for train trips. Arrival time is captured properly.

SOFTWARE/OS VERSIONS
Itinerary on Android : 24.07.70 (nightly - 5537e5a)
Android - 12
Qt Version: 6.6.2
Engine Version: 6.1.40
PDF support: Poppler (23.09.0)
Barcode decoder: ZXing (2.1.0)
Extractors: 240
Comment 1 Volker Krause 2024-05-03 16:27:57 UTC
Git commit e51ef8f70420e3381d29504fa9512521089c1936 by Volker Krause.
Committed on 03/05/2024 at 16:23.
Pushed by vkrause into branch 'master'.

Fix IRCTC departure time extraction

There's apparently a second date/time format in use here, support that
as well.

M  +5    -2    src/lib/scripts/irctc.js

https://invent.kde.org/pim/kitinerary/-/commit/e51ef8f70420e3381d29504fa9512521089c1936
Comment 2 Volker Krause 2024-05-03 16:47:57 UTC
Git commit 6074f002d9e754b33ac1808805dbb38c92eba07c by Volker Krause.
Committed on 03/05/2024 at 16:47.
Pushed by vkrause into branch 'release/24.05'.

Fix IRCTC departure time extraction

There's apparently a second date/time format in use here, support that
as well.
(cherry picked from commit e51ef8f70420e3381d29504fa9512521089c1936)

M  +5    -2    src/lib/scripts/irctc.js

https://invent.kde.org/pim/kitinerary/-/commit/6074f002d9e754b33ac1808805dbb38c92eba07c