Skip to content
This repository was archived by the owner on Apr 8, 2022. It is now read-only.

Commit 04c0d14

Browse files
committed
shorten date display
1 parent 8447e0d commit 04c0d14

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

resources/lib/plex.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,8 @@ def get_myplex_information(self):
592592
subscription = xml.find('subscription')
593593
result['plexpass'] = subscription.get('plan')
594594

595-
result['membersince'] = xml.find('joined-at').text
595+
date= xml.find('joined-at').text
596+
result['membersince'] = date.split(' ')[0]
596597

597598
printDebug("Gathered information: %s" % result)
598599

0 commit comments

Comments
 (0)