Commit 67d9e357 authored by tobias.dussa's avatar tobias.dussa

Switched to ISO timestamps.

parent 3b14b5c2
......@@ -377,7 +377,7 @@ mount -o remount,noatime …
```
Use this python program (written by Leif Nixon <TODO: email>) to create a human
readable timeline:
readable timeline and run it through `sort -n`:
```python
#!/usr/bin/python
# timeline-decorator.py
......@@ -385,7 +385,7 @@ readable timeline:
import sys, time
def print_line(flags, t, mode, user, group, name):
print t, time.ctime(float(t)), flags, mode, user, group, name
print t, time.strftime('%Y-%m-%dT%H:%M:%S %Z', time.gmtime(float(t))), flags, mode, user, group, name
for line in sys.stdin:
line = line[:-1]
......@@ -483,4 +483,4 @@ TODO:
* Autosy, rkhunter, …
#### Authors:
* Heiko Reese <heiko.reese@kit.edu>
\ No newline at end of file
* Heiko Reese <heiko.reese@kit.edu>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment