Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1 from tigercat2000/paradise_changes
Browse files Browse the repository at this point in the history
Convert to ISO-8601 with T seperator & no ms
  • Loading branch information
tigercat2000 authored Apr 19, 2018
2 parents 32cc3e7 + c53a31f commit 4b946bb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ rust-g is build with [Rust] as you might have guessed from the name. Install rus

cargo build --release

If you are on a 64 bit machine, this will produce a 64 bit binary - BYOND can't run this.
To avoid that, you should instead use

rustup target add i686-pc-windows-msvc

followed by

cargo build --target=i686-pc-windows-msvc --release

All dependencies will automatically be downloaded and compiled. rust-g should be compilable on
both Rust stable and nightly.

Expand Down
2 changes: 1 addition & 1 deletion src/log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ byond_fn! { log_close_all()! {
} }

fn format(data: &str) -> String {
format!("[{}] {}\n", Utc::now().format("%F %T%.3f"), data)
format!("[{}] {}\n", Utc::now().format("%FT%T"), data)
}

fn write(path: &str, data: String) -> Result<usize> {
Expand Down

0 comments on commit 4b946bb

Please sign in to comment.