We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
argparse
1 parent fa659a8 commit d527870Copy full SHA for d527870
python-argparse/ls_v2.py
@@ -20,8 +20,8 @@
20
def build_output(entry, long=False):
21
if long:
22
size = entry.stat().st_size
23
- date = datetime.date.fromtimestamp(entry.stat().st_mtime).strftime(
24
- "%b %d %m:%S"
+ date = datetime.datetime.fromtimestamp(entry.stat().st_mtime).strftime(
+ "%b %d %M:%S"
25
)
26
return f"{size:>6d} {date} {entry.name}"
27
return entry.name
0 commit comments