function clockformat(h, m) return h..":"..("%02d"):format(m) end
test run test run with input download show line numbers
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
ID | Author/Program | Comment | Date | |
---|---|---|---|---|
845 | #1000610 | Edit suggestion: !636 !629 main { static Object androidContext; static String programID; public static void main(String[] args) throws Exception { function clockformat(h, m) return h..":"..("%02d"):format(m) end }} | 2015-08-19 22:47:54 | delete |
804 | #1000604 (pitcher) | 2015-08-18 00:07:22 |
Recognizer | Recognition Result | Visualize | Recalc |
---|---|---|---|
#308 | 68 | [visualize] |
Snippet ID: | #135 |
Snippet name: | clockformat |
Eternal ID of this version: | #135/1 |
Text MD5: | 08cce1eb82da634e3939f9f1aab82aea |
Author: | stefan |
Category: | |
Type: | Lua code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2014-01-11 06:55:58 |
Source code size: | 68 bytes / 3 lines |
Pitched / IR pitched: | Yes / Yes |
Views / Downloads: | 1287 / 587 |
Referenced in: | [show references] |