Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set PO-Revision-Date for PO files created from POT
It was already set when _saving_ the file, but that's too late. We need to set it to a valid value at creation time, otherwise Validate on not yet saved file would throw an error.
- Loading branch information
6ffba64
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If
dt.RevisionDate
is not empty, set it to the current time. Why not assign it when RevisionDate is empty? Am I reading this wrong?6ffba64
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because that's how it's done elsewhere.
GitHub has very good UI for git blame, please use it to satisfy spelunking urges like this ;) See b8d8aa9
6ffba64
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The sourceforge link is dead, but I get the point. Thanks!