Move keogram date to right of midnight line #2048
Replies: 3 comments 3 replies
-
@pablo-blake Paul, thanks for the suggestion. After thinking about it, I'm wondering if the date should be when the keogram started, not when it ended. If so, it would remain on the left side of midnight but be a day earlier than it currently shows. Looking at the code's comments, it's supposed to be "at location of 0 hours, or right justified", so I think the current behavior is a bug. @Alex-developer, your thoughts? |
Beta Was this translation helpful? Give feedback.
-
How about if in the next release we add an option to keogram to specific the date should be the start of the keogram, or the end of the keogram? If the start, the date would be left justified; if the end, it would be right justified. I can also look at adding an option to format the date, but other than using 2-character year, I'm not sure anyone will use a shorter date than 12-20-22, although for internationalization purposes we need to allow non-US formats. Comments? |
Beta Was this translation helpful? Give feedback.
-
Hi Eric, Seems the least complicated update, for now, is to move the date to the right of midnight line. This provides an accurate date location on the annotated image. For me, using YY can lead to an incorrect interpretation of date formats. I typically prefer YYYY-MM-DD - always sorts chronologically and reduces ambiguity. |
Beta Was this translation helpful? Give feedback.
-
Hello,
``
Although I've been using allsky for almost a year, I just noticed that the date added to keogram images represents the date after midnight... however, the date is placed to the left of midnight line. Below is the update I made to keogram.cpp to move the date to the right of the midnight.
Update removes 'textSize.width' shift (left) in date txt (below '// Draw date' in code).
Just an FYI, Paul
Beta Was this translation helpful? Give feedback.
All reactions