Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: When do you celebrate a February 29th birthday in a non-leap year?

by nevdka (Pilgrim)
on Mar 01, 2016 at 04:25 UTC ( [id://1156501]=note: print w/replies, xml ) Need Help??


in reply to When do you celebrate a February 29th birthday in a non-leap year?

According to our codebase, it's mythical. An expiry date was set one year in the future, and the code used the obviously correct solution:

my @expiry_date = ($current_year + 1, $current_month, $current_day);

This date eventually makes it's way into a big, ugly C# app that doesn't like mythical dates or providing useful error messages. According to our source control, that line has been there for 6 years. According to our issue tracker, it caused a problem 4 years ago that couldn't be replicated, and was resolved after 2 days by re-running the script. The problem happened again recently...

Replies are listed 'Best First'.
Re^2: When do you celebrate a February 29th birthday in a non-leap year?
by Ratazong (Monsignor) on Mar 01, 2016 at 07:49 UTC

    Feb 29th is a myth for sure! Have a look at the following article (unfortunately in german) as a proof: trouble at the airport. At the airport in Düsseldorf the baggage could not be processed, as the software didn't consider February 29th to be a valid day.

    Good that it is March now! Rata

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1156501]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-03-28 11:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found