+{
+ # set unknown format: edge cases
+ my $date = RT::Date->new(RT->SystemUser);
+ $date->Set( Value => 0, Format => 'unknown' );
+ is( $date->Unix(), 0, "unix is 0 with Value => 0, Format => 'unknown'" );
+
+ $date->Set( Value => '', Format => 'unknown' );
+ is( $date->Unix(), 0, "unix is 0 with Value => '', Format => 'unknown'" );
+
+ $date->Set( Value => ' ', Format => 'unknown' );
+ is( $date->Unix(), 0, "unix is 0 with Value => ' ', Format => 'unknown'" );
+}
+