2022-04-01 22:22:33 +00:00
|
|
|
accessing
|
|
|
|
createdAt
|
|
|
|
^ createdAt ifNil: [| joinDateString |
|
|
|
|
joinDateString := ((self documentTree xpath: '//div[@class="profile-joindate"]/span/@title') stringValue).
|
2022-04-29 22:58:03 +00:00
|
|
|
joinDateString := joinDateString copyReplaceAll: '3 May' with: '03 May'.
|
2022-05-03 01:15:19 +00:00
|
|
|
joinDateString := joinDateString copyReplaceAll: '5 May' with: '05 May'.
|
|
|
|
joinDateString := joinDateString copyReplaceAll: '2 Feb' with: '02 Feb'.
|
2022-04-01 22:22:33 +00:00
|
|
|
createdAt := (ZTimestampFormat fromString:'4:05 PM - 03 Feb 2001') parse: joinDateString.
|
|
|
|
]
|