The best easter egg I could hide ;)
This commit is contained in:
parent
71dd261a50
commit
74e89bdf5f
|
@ -6616,7 +6616,9 @@ Date::Date(const TCHAR *dateStr)
|
||||||
{
|
{
|
||||||
// timeStr should be Notepad++ date format : YYYYMMDD
|
// timeStr should be Notepad++ date format : YYYYMMDD
|
||||||
assert(dateStr);
|
assert(dateStr);
|
||||||
if (lstrlen(dateStr) == 8)
|
int D = lstrlen(dateStr);
|
||||||
|
|
||||||
|
if ( 8==D )
|
||||||
{
|
{
|
||||||
generic_string ds(dateStr);
|
generic_string ds(dateStr);
|
||||||
generic_string yyyy(ds, 0, 4);
|
generic_string yyyy(ds, 0, 4);
|
||||||
|
|
Loading…
Reference in New Issue