Skip to content

Commit

Permalink
Fix typos in README
Browse files Browse the repository at this point in the history
Add Rust syntax highlighting to the code block.
  • Loading branch information
lopopolo committed Aug 14, 2022
1 parent fe425a8 commit e42a621
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -5,13 +5,13 @@
[![Crate License](https://img.shields.io/crates/l/iana-time-zone.svg)](https://crates.io/crates/iana-time-zone)
[![build](https://github.com/strawlab/iana-time-zone/workflows/build/badge.svg?branch=master)](https://github.com/strawlab/iana-time-zone/actions?query=branch%3Amaster)

This small utility crate gets get the IANA time zone for the current system.
This small utility crate gets the IANA time zone for the current system.
This is also known the [tz database](https://en.wikipedia.org/wiki/Tz_database),
tzdata, the zoneinfo database, and the Olson database.

Example:

```
```rust
// Get the current time zone as a string.
let tz_str = iana_time_zone::get_timezone()?;
println!("The current time zone is: {}", tz_str);
Expand Down

0 comments on commit e42a621

Please sign in to comment.