Skip to content

Commit 7bfe9a3

Browse files
Merge pull request #1950 from ramkishor-ch/master
Related this issue:#1744
2 parents 2db4e3e + 4de8c5a commit 7bfe9a3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

SoftLayer/CLI/virt/list.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
from SoftLayer.CLI import environment
1010
from SoftLayer.CLI import formatting
1111
from SoftLayer.CLI import helpers
12+
from SoftLayer import utils
1213

1314
# pylint: disable=unnecessary-lambda
1415

@@ -30,6 +31,10 @@
3031
'tags',
3132
lambda server: formatting.tags(server.get('tagReferences')),
3233
mask="tagReferences.tag.name"),
34+
column_helper.Column(
35+
'createDate',
36+
lambda guest: utils.clean_time(guest.get('createDate'),
37+
in_format='%Y-%m-%dT%H:%M:%S', out_format='%Y-%m-%d %H:%M'), mask="createDate"),
3338
]
3439

3540
DEFAULT_COLUMNS = [

0 commit comments

Comments
 (0)