I found a workaround where i can use strftime_l() and just call it with localisation argument NULL.
strftime_l()
NULL