Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Night shift in time punch created and out time punch separately created in next day in time #358

Open
eanbuadmin opened this issue Sep 30, 2024 · 4 comments

Comments

@eanbuadmin
Copy link

Bug Report

Description

[A brief description of the bug or issue you're encountering.]
Capture30

Steps to Reproduce

  1. [Detailed step-by-step instructions to reproduce the issue.]

Expected Behavior

[What you expected to happen.]

Actual Behavior

[What actually happened.]

Screenshots

[If applicable, provide screenshots illustrating the issue.]

Environment

  • Django Version: [Django version you're using, e.g., 3.2.1]
  • Python Version: [Python version, e.g., 3.9]
  • Operating System: [Your OS, e.g., Windows 10, Ubuntu 20.04]
  • Browser: [If applicable, specify the browser and version you're using.]

Additional Information

[Any other relevant information, logs, error messages, or context that might help in understanding and fixing the issue.]

Possible Solution

[If you have any ideas or suggestions on how to fix the issue, feel free to provide them here. This is optional.]

Labels

[If your project uses labels, suggest any labels that might apply to this issue, such as 'bug', 'needs investigation', etc.]

Priority

[Specify the priority level for this issue, such as 'high', 'medium', 'low', etc.]

Assignees

[If you want to suggest an assignee or tag a specific person to look into this issue, mention their GitHub username here.]

Related Issues

[If there are any related issues or pull requests, mention them here. This is optional.]

Note: Remember to search through existing issues before submitting a new one to ensure that the issue hasn't been reported already. Provide as much information as possible to help the maintainers understand and address the problem effectively.

@horilla-opensource
Copy link
Owner

Hi @eanbuadmin ,

Can you share the screenshot of the shift schedules?

With Regards,
Team Horilla

@eanbuadmin
Copy link
Author

shift schdule
shift
shiftschddule1
Hi Team, shift schedules attached

@vanyell
Copy link

vanyell commented Oct 30, 2024

I think I have a similar problem. I have automatic checkout turned on.

Please see below screenshot.

Morning shift. Time-ins have correct date and time. However, time-outs are not. Yesterday's date was recorded instead.

Screenshot 2024-10-30 182748

I can open a separate issue if this is not related. Thanks

@horilla-opensource
Copy link
Owner

horilla-opensource commented Nov 1, 2024

Attendance date will take the yesterday date for only night shifts.

For example the Monday shift it will start 10 PM (Monday) and ends in Tuesday 7 AM. So the attendance is actually for Monday and ends in Tuesday. That is, the attendance_date will be yesterday and checkout date is current date for the attendance accordingly to the activities

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants