@@ -74,6 +74,7 @@ pub enum Moment {
7474 SeasonOfTheSeraph ,
7575 Lightfall ,
7676 SeasonOfDefiance ,
77+ SeasonOfTheDeep
7778}
7879
7980impl Moment {
@@ -166,6 +167,11 @@ impl Moment {
166167 Moment :: SeasonOfDefiance => {
167168 Utc . with_ymd_and_hms ( 2023 , 2 , 28 , 17 , 0 , 0 ) . unwrap ( )
168169 }
170+
171+
172+ Moment :: SeasonOfTheDeep => {
173+ Utc . with_ymd_and_hms ( 2023 , 5 , 23 , 17 , 0 , 0 ) . unwrap ( )
174+ }
169175 }
170176 }
171177}
@@ -217,6 +223,7 @@ impl FromStr for Moment {
217223 "season_of_the_seraph" => Ok ( Moment :: SeasonOfTheSeraph ) ,
218224 "lightfall" => Ok ( Moment :: Lightfall ) ,
219225 "season_of_defiance" => Ok ( Moment :: SeasonOfDefiance ) ,
226+ "season_of_the_deep" => Ok ( Moment :: SeasonOfTheDeep ) ,
220227
221228 _ => Err ( "Unknown Moment type" ) ,
222229 }
@@ -265,6 +272,7 @@ impl fmt::Display for Moment {
265272 Moment :: SeasonOfTheSeraph => "Season of the Seraph" ,
266273 Moment :: Lightfall => "Lightfall" ,
267274 Moment :: SeasonOfDefiance => "Season of Defiance" ,
275+ Moment :: SeasonOfTheDeep => "Season of the Deep"
268276 } ;
269277
270278 write ! ( f, "{}" , out)
0 commit comments