sbmlteam/libsbml

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

avandecreme opened this issue · 1 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