File tree 3 files changed +7
-6
lines changed
repository/ZTimestamp.package
3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
1
instance creation
2
2
id: id
3
3
" Return the timezone identified by id, either from cache or loading it if necessary"
4
-
5
- id = #GMT ifTrue: [ ^ self gmt ].
4
+ |idSymbol |
5
+ idSymbol := id asSymbol.
6
+ idSymbol = #GMT ifTrue: [ ^ self gmt ].
6
7
^ self timezones
7
- at: id
8
- ifAbsentPut: [ self readTimezoneWithId: id ]
8
+ at: idSymbol
9
+ ifAbsentPut: [ self readTimezoneWithId: idSymbol ]
Original file line number Diff line number Diff line change 9
9
"fromFile:" : " JohanBrichau 06/15/2014 15:16" ,
10
10
"fromStream:" : " SvenVanCaekenberghe 3/12/2014 11:24" ,
11
11
"gmt" : " SvenVanCaekenberghe 3/12/2014 11:24" ,
12
- "id:" : " JohanBrichau 06/15 /2014 15:30 " ,
12
+ "id:" : " JohanBrichau 06/16 /2014 22:13 " ,
13
13
"locationForId:" : " JohanBrichau 06/15/2014 15:20" ,
14
14
"readHeaderFrom:" : " SvenVanCaekenberghe 3/10/2014 23:53" ,
15
15
"readTimezoneWithId:" : " SvenVanCaekenberghe 3/12/2014 14:15" ,
You can’t perform that action at this time.
0 commit comments