Current section

2 Versions

Jump to

Compare versions

4 files changed
+15 additions
-16 deletions
  @@ -1,12 +1,12 @@
1 1 name = "timestamps"
2 - version = "1.0.0"
2 + version = "1.0.1"
3 3
4 4 # Fill out these fields if you intend to generate HTML documentation or publish
5 5 # your project to the Hex package manager.
6 6 #
7 - description = "timestamp in Gleam"
7 + description = "timestamps in Gleam"
8 8 licences = ["Apache-2.0"]
9 - repository = { type = "custom", url = "https://git.mastodont.cat/pswsm/timestamps" }
9 + repository = { type = "github", user = "pswsm", repo="timestamps" }
10 10
11 11 # For a full reference of all the available options, you can have a look at
12 12 # https://gleam.run/writing-gleam/gleam-toml/.
  @@ -1,22 +1,22 @@
1 1 {<<"name">>, <<"timestamps">>}.
2 2 {<<"app">>, <<"timestamps">>}.
3 - {<<"version">>, <<"1.0.0">>}.
4 - {<<"description">>, <<"timestamp in Gleam"/utf8>>}.
3 + {<<"version">>, <<"1.0.1">>}.
4 + {<<"description">>, <<"timestamps in Gleam"/utf8>>}.
5 5 {<<"licenses">>, [<<"Apache-2.0">>]}.
6 6 {<<"build_tools">>, [<<"gleam">>]}.
7 7 {<<"links">>, [
8 - {<<"Repository">>, <<"https://git.mastodont.cat/pswsm/timestamps">>}
8 + {<<"Repository">>, <<"https://github.com/pswsm/timestamps">>}
9 9 ]}.
10 10 {<<"requirements">>, [
11 - {<<"gleam_stdlib">>, [
12 - {<<"app">>, <<"gleam_stdlib">>},
13 - {<<"optional">>, false},
14 - {<<"requirement">>, <<">= 0.34.0 and < 2.0.0">>}
15 - ]},
16 11 {<<"gleam_erlang">>, [
17 12 {<<"app">>, <<"gleam_erlang">>},
18 13 {<<"optional">>, false},
19 14 {<<"requirement">>, <<">= 0.30.0 and < 1.0.0">>}
15 + ]},
16 + {<<"gleam_stdlib">>, [
17 + {<<"app">>, <<"gleam_stdlib">>},
18 + {<<"optional">>, false},
19 + {<<"requirement">>, <<">= 0.34.0 and < 2.0.0">>}
20 20 ]}
21 21 ]}.
22 22 {<<"files">>, [
  @@ -1,9 +1,8 @@
1 1 {application, timestamps, [
2 - {vsn, "1.0.0"},
2 + {vsn, "1.0.1"},
3 3 {applications, [gleam_erlang,
4 - gleam_stdlib,
5 - gleeunit]},
6 - {description, "timestamp in Gleam"},
4 + gleam_stdlib]},
5 + {description, "timestamps in Gleam"},
7 6 {modules, [timestamps]},
8 7 {registered, []}
9 8 ]}.
  @@ -40,4 +40,4 @@ is_future(T) ->
40 40 -file("/home/pswsm/code/timestamps/src/timestamps.gleam", 74).
41 41 -spec to_string(timestamp()) -> binary().
42 42 to_string(T) ->
43 - gleam@int:to_string(erlang:element(2, T)).
43 + erlang:integer_to_binary(erlang:element(2, T)).