lib/when_exe/region/world.rb in when_exe-0.3.1 vs lib/when_exe/region/world.rb in when_exe-0.3.2
- old
+ new
@@ -11,11 +11,11 @@
WorldTerms = [self, [
"namespace:[en=http://en.wikipedia.org/wiki/, ja=http://ja.wikipedia.org/wiki/]",
"locale:[=en:, ja=ja:, alias]",
"names:[WorldTerms]",
- "[World=en:The_World_Calendar, 世界暦=ja:%E4%B8%96%E7%95%8C%E6%9A%A6]"
+ "[World=en:The_World_Calendar, 世界暦]"
]]
end
class TM::CalendarEra
@@ -180,10 +180,10 @@
World = [CyclicTableBased, {
'label' => When.Resource('_m:WorldTerms::World'),
'origin_of_LSC' => 1721060,
'indices' => [
Coordinates::Index.new({:unit =>12, :trunk=>When.Resource('_m:CalendarTerms::Month::*')}),
- Coordinates::Index.new
+ Coordinates::DefaultDayIndex
],
'rule_table' => {
'T' => {'Rule' =>['LC', 'SC', 'SC', 'SC']},
'SC' => {'Rule' =>[365]*4 + [366, 365, 365, 365]*24},
'LC' => {'Rule' =>[366, 365, 365, 365]*25},