Timeline for Short Date into English Long Date
Current License: CC BY-SA 3.0
16 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 29, 2017 at 20:10 | comment | added | Luke Sawczak |
@officialaimm Thanks, and hence even a little less with f"". I consider that structure different enough from mine that you can feel free to make it an answer if you want.
|
|
| Jun 29, 2017 at 5:00 | comment | added | 0xffcourse | 140 Bytes | |
| Jun 29, 2017 at 4:23 | comment | added | Luke Sawczak | @ValueInk Thanks; 1 less byte. :) Also "upgraded" to Python 3.6 for the new string format. | |
| Jun 29, 2017 at 4:21 | history | edited | Luke Sawczak | CC BY-SA 3.0 |
deleted 165 characters in body
|
| Jun 29, 2017 at 4:19 | comment | added | Value Ink |
In that case, abuse type coersion. (3<b<21)+(23<b<31) for -1 byte. Try it online!
|
|
| Jun 29, 2017 at 4:17 | history | edited | Luke Sawczak | CC BY-SA 3.0 |
is it frowned upon to steal one good idea from another user?
|
| Jun 29, 2017 at 4:09 | history | edited | Luke Sawczak | CC BY-SA 3.0 |
bugfix
|
| Jun 29, 2017 at 4:08 | comment | added | Luke Sawczak | @ValueInk Sadly, that will produce 31th. Another way I thought of breaking it down was 'th' if not 0<b%10<4 or 10<b<14 but it didn't save any bytes. | |
| Jun 29, 2017 at 2:19 | comment | added | Value Ink |
(('st','nd','rd')[b%10-1]if b<4 or 20<b<24 else'th') instead of your current conditional for -3 bytes.
|
|
| Jun 29, 2017 at 0:14 | history | edited | Luke Sawczak | CC BY-SA 3.0 |
deleted 9 characters in body
|
| Jun 29, 2017 at 0:05 | comment | added | Luke Sawczak | @ChristianDean Thanks, done! | |
| Jun 29, 2017 at 0:04 | history | edited | Luke Sawczak | CC BY-SA 3.0 |
added 5 characters in body
|
| Jun 29, 2017 at 0:03 | comment | added | Chris |
You can save a byte by removing the space between int(x) and for in your list comp.
|
|
| Jun 28, 2017 at 23:59 | history | edited | Luke Sawczak | CC BY-SA 3.0 |
added 51 characters in body
|
| Jun 28, 2017 at 23:47 | history | edited | Luke Sawczak | CC BY-SA 3.0 |
deleted 1 character in body
|
| Jun 28, 2017 at 23:45 | history | answered | Luke Sawczak | CC BY-SA 3.0 |