Fixing creation date return depending on type of scrapping.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2022-04-17 12:30:28 -05:00
parent 7de47a4959
commit 49d5529934

View File

@ -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