Fixing creation date return depending on type of scrapping.
This commit is contained in:
parent
7de47a4959
commit
49d5529934
@ -1,3 +1,4 @@
|
|||||||
accessing
|
accessing
|
||||||
created
|
created
|
||||||
^ created ifNotNil: [ ^ DateAndTime fromString: ((created splitOn: $,) second withoutSuffix: 'GMT') ]
|
(created endsWith: 'GMT') ifTrue: [ ^ DateAndTime fromString: ((created splitOn: $,) second withoutSuffix: 'GMT') ].
|
||||||
|
^ DateAndTime fromString: created
|
Loading…
Reference in New Issue
Block a user