Skip to content

calendar: Use the new "%OB" format if supported

Rafał Lużyński requested to merge rluzynski/gtk:gtk-3-22 into gtk-3-22

Due to the recent changes introduced in glibc 2.27 "%OB" is the correct format to obtain a month name as used in the calendar header. The same rule has been working in BSD family (including OS X) since 1990s. This simple hack checks whether "%OB" is supported at runtime and uses it if it is, falls back to the old "%B" otherwise.

Closes: #9 (closed)

Merge request reports