Bug 1225458

Summary: [doc] Issue in "Hello World example"
Product: [Non-product-specific documentation] Documentation Reporter: binbin gao <hongyegb123>
Component: Smart DocsAssignee: Frank Sundermeyer <fs>
Status: CONFIRMED --- QA Contact: Tanja Roth <taroth>
Severity: Normal    
Priority: P5 - None CC: tbazant
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard: https://jira.suse.com/browse/DOCTEAM-1453
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description binbin gao 2024-05-28 09:27:59 UTC
Hello World example:

https://documentation.suse.com/smart/systems-management/html/systemd-working-with-timers/index.html#id-1.3.2

The calendar is wrong
# systemd-analyze calendar --iterations 10 "Mon..Fri *-*-* 10:00:*"
Normalized form: Mon..Fri *-*-* 10:00:*
    Next elapse: Tue 2024-05-28 10:00:00 UTC
       From now: 39min left
       Iter. #2: Tue 2024-05-28 10:00:01 UTC
       From now: 39min left
       Iter. #3: Tue 2024-05-28 10:00:02 UTC
       From now: 39min left
       Iter. #4: Tue 2024-05-28 10:00:03 UTC
       From now: 39min left
       Iter. #5: Tue 2024-05-28 10:00:04 UTC
       From now: 39min left

It shold be "Mon..Fri *-*-* 10:00"
# systemd-analyze calendar --iterations 10 "Mon..Fri *-*-* 10:00"
  Original form: Mon..Fri *-*-* 10:00
Normalized form: Mon..Fri *-*-* 10:00:00
    Next elapse: Tue 2024-05-28 10:00:00 UTC
       From now: 33min left
       Iter. #2: Wed 2024-05-29 10:00:00 UTC
       From now: 24h left
       Iter. #3: Thu 2024-05-30 10:00:00 UTC
       From now: 2 days left
       Iter. #4: Fri 2024-05-31 10:00:00 UTC
       From now: 3 days left
       Iter. #5: Mon 2024-06-03 10:00:00 UTC
       From now: 6 days left
Comment 1 Tomáš Bažant 2024-06-07 08:50:32 UTC
Thank you for reporting this bug!
It is being tracked and processed as part of our queue.