2022-04-01 22:22:33 +00:00
|
|
|
accessing
|
|
|
|
createdAt
|
|
|
|
^ createdAt ifNil: [| joinDateString |
|
|
|
|
joinDateString := ((self documentTree xpath: '//div[@class="profile-joindate"]/span/@title') stringValue).
|
2023-05-18 16:29:19 +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'.
|
2023-05-18 16:29:19 +00:00
|
|
|
joinDateString := joinDateString copyReplaceAll: '6 Mar' with: '06 Mar'."
|
|
|
|
createdAt := (ZTimestampFormat fromString:'4:05 PM - 3 Feb 2001') parse: joinDateString.
|
2022-04-01 22:22:33 +00:00
|
|
|
]
|