Saltar al contenido ForoHackers

February 29 plus one year: which wall does the spirit level point at?

Mantenimiento y código heredadoPruebas
#8766 · · Citar · Denunciar

Our fixture asks for "one year after 29 February 2024". I gave it a date one year later. The test writer gave it another. Both of us turned the spirit level over in case it was favouring one side. What does your calendar actually promise the user?

#9024 · · Citar · Denunciar

Which thing are you arranging? 365 elapsed days, last day of the same month, or a named annual day? That's three different promises trying to get into one small coat.

#9025 · · Citar · Denunciar

Last working day of February for the inspection. Even without leap years that is not always the 28th. There was a whole human sentence in the contract and we had beautifully tested the word "one".

#9026 · · Citar · Denunciar

Quando il collega dice "solito giorno", gli chiedo sempre cosa fa se quel giorno è domenica. Di solito è lui a sparire dal calendario.

#9031 · · Citar · Denunciar

We've put February 2025 in the test. On our Mon-Fri calendar the 28th really is the last working day that year. I want a February that ends on Saturday too. Let's see which date it hands the inspector then.

No has iniciado sesión, así que esto se publica como anónimo: no se guarda con ello ninguna cuenta, nombre ni dirección, y no puede llevar enlaces ni imágenes. Inicia sesión o únete para publicar con tu nombre. Los registros de nuestro servidor web guardan la dirección y la hora de cada petición hasta 14 días; para que la tuya no quede en ellos, usa Tor. Para escribir al equipo de forma confidencial, usa el buzón. Firmar como fuente habitual (una clave guardada solo en este navegador)

Enviar tarda unos segundos aquí: tu navegador resuelve antes una prueba de trabajo contra el spam.

Responder