Recent

Author Topic: Maintenance of PascalTZ package  (Read 3005 times)

dezlov

  • New Member
  • *
  • Posts: 13
Maintenance of PascalTZ package
« on: October 06, 2015, 11:20:59 am »
Hi,

I have been working with PascalTZ package for some time now. It is a very powerful but significantly outdated tool. I have discovered several major issues with it and would like to fix them.

1) Mishandling of "_" (underscore) in time zone names, which results in not found time zones.
2) Inability to load multiple zone files, which results in silent corruption of internal data and wrong results.
3) Not processing "Link" tags (timezone aliases) inside zone files.
4) Outdated documentation. Time zone databases have been taken over by IANA.

What is the most appropriate way to update PascalTZ package?

Can it be added to one of FPC/Lazarus version control bases?

Then I could either work on it directly and/or submit patches via bug tracker.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Maintenance of PascalTZ package
« Reply #1 on: October 06, 2015, 11:35:33 am »
The bugtracker has "Lazarus CCR" as one of the available project. Send the patch using that project.

dezlov

  • New Member
  • *
  • Posts: 13
Re: Maintenance of PascalTZ package
« Reply #2 on: October 06, 2015, 11:54:36 am »
The bugtracker has "Lazarus CCR" as one of the available project. Send the patch using that project.

I can, but PascalTZ package only exists as a ZIP file on SourceForge. There is nowhere to commit the patch to.

Can it be added to FPC/Lazarus/CCR version control?

dezlov

  • New Member
  • *
  • Posts: 13
Re: Maintenance of PascalTZ package
« Reply #3 on: October 08, 2015, 07:18:15 pm »
I've decided to use a personal GitHub repository to begin work on PascalTZ:
https://github.com/dezlov/pascaltz

dezlov

  • New Member
  • *
  • Posts: 13
Re: Maintenance of PascalTZ package
« Reply #4 on: October 17, 2015, 06:25:26 pm »
Warning!
Major data parsing and time zone conversions problems have been discovered in the original PascalTZ 1.0. These issues are being addressed in the git repository. In the meantime, you are strongly advised to use the latest development version until further notice.

List of major changes in the development version:
https://github.com/dezlov/pascaltz/blob/master/CHANGES.md

More details in the commits history.
« Last Edit: October 18, 2015, 01:02:17 am by dezlov »

 

TinyPortal © 2005-2018