Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-07-12 | Merge branch 'irc-input-fix' into 'master' HEADmaster | Luke Bratch | |
Irc input fix Handles IRC input where the arguments are received as a single string, regardless of spaces. If there is one argument it will split it on spaces. See merge request !2 | |||
2017-07-12 | Improve handling of milliseconds to handle any length | Joe Robinson | |
2017-07-12 | Handle IRC single argument input | Joe Robinson | |
2017-07-12 | Handle argument being an empty string in the same way as undefined | Joe Robinson | |
2017-07-12 | Merge branch 'milliseconds' into 'master' | Luke Bratch | |
Milliseconds Added 3 new functions: **Print the current unix timestamp** Run the script with no arguments e.g: joe@phobos ~/blatech/unixtime $ ./unixtime.pl 1499865953 **Convert from time since the Unix epoch, given in milliseconds** Run the script with a timestamp in milliseconds, and add a second argument "ms" e.g: joe@phobos ~/blatech/unixtime $ ./unixtime.pl 1499865571123 ms Wed Jul 12 14:19:31:123 BST 2017 **Print the current time since the Unix epoch in milliseconds** Run the script only with the argument "ms" e.g: joe@phobos ~/blatech/unixtime $ ./unixtime.pl ms 1499866043745 See merge request !1 | |||
2017-07-12 | Add some spaces on string concatenation to be consistent | Joe Robinson | |
2017-07-12 | Add comments | Joe Robinson | |
2017-07-12 | Add options to convert and print milliseconds, and to show the current unixtime | Joe Robinson | |
2015-08-10 | Output line break at end of line | Luke Bratch | |
2015-08-10 | Rename to .pl as now a proper Perl script | Luke Bratch | |
2015-08-10 | Provide timezone in output | Luke Bratch | |
2015-08-10 | Initial commit | Luke Bratch | |