- Very small checking to improve the development expire code. (and for testing the irc bot)
git-svn-id: svn://localhost/HandBrake/trunk@1157
b64f7644-9d1e-0410-96f1-
a4d463321fa5
\r
// Development Code Expiry.\r
// Remember to comment out on public release!!!\r
- int year = DateTime.Now.Year;\r
- int month = DateTime.Now.Month;\r
- int day = DateTime.Now.Day;\r
-\r
- if ((year > 2007) || (month > 10 )) { MessageBox.Show("Sorry, This development build of Handbrake has expired."); return; } \r
-\r
-\r
+ if (DateTime.Now > DateTime.Parse("30/1/2008")) { MessageBox.Show("Sorry, This development build of Handbrake has expired."); return; } \r
\r
// Check the system meets the system requirements.\r
Boolean launch = true;\r