Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:18
erlang-sh
sh-1.9-git.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sh-1.9-git.patch of Package erlang-sh
diff --git a/src/sh.erl b/src/sh.erl index 6e56d5c..9df842b 100644 --- a/src/sh.erl +++ b/src/sh.erl @@ -55,5 +55,5 @@ sh_loop(Port, Fun, Acc, Flatten) when is_function(Fun) -> end. ts() -> - Ts = {{_Y,_M,_D},{_H,_Min,_S}} = calendar:now_to_datetime(now()), + Ts = {{_Y,_M,_D},{_H,_Min,_S}} = calendar:now_to_datetime(os:timestamp()), io_lib:format("~p", [Ts]).
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor