[](https://circleci.com/gh/cecton/libc-strftime)
[](https://crates.io/crates/libc-strftime)
[](http://opensource.org/licenses/MIT)
[](https://docs.rs/libc-strftime)
[](https://github.com/cecton/libc-strftime)
[](https://deps.rs/repo/github/cecton/libc-strftime)
libc-strftime
=============
A wrapper library for the glibc strftime function
Examples
--------
Format the current date and time in Brussels in French:
```
use std::env;
env::set_var("LC_ALL", "fr_BE.UTF-8");
env::set_var("TZ", "Europe/Brussels");
libc_strftime::tzset();
libc_strftime::set_locale();
let now = libc_strftime::epoch(); // most likely a u64
let local = libc_strftime::strftime_local("%c", now);
println!("On est: {}", local);
```
Known Issues
------------
* The translation doesn't seen to work with MUSL.