Socialmetrica/Datanalitica.package/NitterUser.class/instance/createdAt.st

6 lines
263 B
Smalltalk
Raw Normal View History

accessing
createdAt
^ createdAt ifNil: [| joinDateString |
joinDateString := ((self documentTree xpath: '//div[@class="profile-joindate"]/span/@title') stringValue).
createdAt := (ZTimestampFormat fromString:'4:05 PM - 03 Feb 2001') parse: joinDateString.
]