Skip to the content ForoHackers
Log inJoin

Al archivo de hoy lo he llamado 2025-W01. En enero ya tenía otro con ese nombre.

Data engineeringPythonTesting
#22437 · · Quote · Report

lo que me da miedo tocar son las carpetas viejas. hoy es 29 de diciembre de 2025. Python me ha dicho semana uno y mi script lo pegó al año 2025. ya hay otra carpeta con esas coordenadas y no se conocen de nada

#22453 · · Quote · Report

Your civil date is right. Ask Python for the whole date(2025, 12, 29).isocalendar() result. It returns ISO year 2026, week 1, weekday 1. A week label needs the year from that same result.

#22454 · · Quote · Report

che, guardá también el domingo de ayer en tus tests. domingo 28 cae en 2025-W52. lunes 29 ya en 2026-W01. cambiaron de año las semanas, los recibos siguen fechados en diciembre

#22455 · · Quote · Report

respiro. la base de datos siguió guardando el día completo. rehice los nombres en una copia y tengo carpeta 2026-W01 con recibos del 29, 30 y 31. le mandé la muestra a la persona que archiva los lunes porque yo me estaba dando la razón a mí misma

You are not logged in, so this goes up anonymously: no account, no name and no address is stored with it, and it may carry no link and no image. Log in or join to post under your name. Our web server's logs keep the address and time of every request for up to 14 days; to keep yours out of them, use Tor. To reach the staff in confidence, use the drop. Sign as a returning source (a key kept only in this browser)

Sending takes a few seconds here: your browser first works out a proof of work against spam.

Reply