Closed pierre closed 5 years ago
As mentioned in the associated mailing list thread (https://groups.google.com/forum/#!topic/killbilling-users/oDUmYbzmhSs) it might be more of an issue in Kaui which uses the offset format instead of timezone identifiers.
See https://github.com/killbill/killbill-admin-ui/issues/62 for tracking the Kaui bug.
While the Kaui bug has been fixed (and https://github.com/killbill/killbill-plugin-framework-ruby/blob/4681bfb8caafda0b3192ce368cb2e2e12cb17659/lib/killbill/gen/api/account.rb#L66 is correct now), the generator still needs to be fixed.
Specifically https://github.com/killbill/killbill-plugin-framework-ruby/blob/4681bfb8caafda0b3192ce368cb2e2e12cb17659/lib/killbill/gen/api/account.rb#L77 is wrong and will always fail since fixed_offset_time_zone
is computed using DateTimeZone.forOffsetMillis
. We should probably just return a string (e.g. -08:00
) in Ruby.
Consider the following:
The issue is that "+0100" does not have to be in Central European Time, as other time zones could have the same UTC offset.