sbmlteam / libsbml

LibSBML is a native library for reading, writing and manipulating files and data streams containing the Systems Biology Markup Language (SBML). It offers language bindings for C, C++, C#, Java, JavaScript, MATLAB, Perl, PHP, Python, R and Ruby.

Home Page:https://sbml.org/software/libsbml

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Time zones with offsets below -11:59 and above 11:59 are not accepted by the Date class

avandecreme opened this issue · comments

The hour offset is checked to be at most 11 here:

getHoursOffset() > 11 ||

This prevent representing some time zones, for example LINT is UTC+14 and AoE is UTC-12.

Would you be interested by a patch fixing this?

thank you for letting us know, a patch would certainly be helpful. Should you not have time to do that, we'll be able to construct test cases now that you have let us know. Thank yoiu