Skip to content

Commit

Permalink
Revert "Use no_NB since it is more readily available"
Browse files Browse the repository at this point in the history
This reverts commit f2f3cfe.

Test if nb_NO is available on GiHub Actions
  • Loading branch information
henrikhorluck committed Mar 20, 2024
1 parent 0aa846c commit 8bf9b93
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/events/mommy.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
def set_event_marks():
logger = logging.getLogger()
logger.info("Attendance mark setting started")
locale.setlocale(locale.LC_ALL, "no_NO.UTF-8")
locale.setlocale(locale.LC_ALL, "nb_NO.UTF-8")

# Gets all active attendance events thats suposed to give automatic marks
attendance_events = active_events()
Expand Down
2 changes: 1 addition & 1 deletion apps/feedback/mommy.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
def feedback_mail():
logger = logging.getLogger("feedback")
logger.info("Feedback job started")
locale.setlocale(locale.LC_ALL, "no_NO.UTF-8")
locale.setlocale(locale.LC_ALL, "nb_NO.UTF-8")
active_feedbacks = FeedbackRelation.objects.filter(active=True)

for feedback in active_feedbacks:
Expand Down
4 changes: 2 additions & 2 deletions apps/payment/mommy.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def payment_reminder():
logging.basicConfig()
# logger = logging.getLogger()
# logger.info("Event payment job started")
locale.setlocale(locale.LC_ALL, "no_NO.UTF-8")
locale.setlocale(locale.LC_ALL, "nb_NO.UTF-8")

event_payments = Payment.objects.filter(
payment_type=PaymentTypes.DEADLINE,
Expand Down Expand Up @@ -174,7 +174,7 @@ def payment_delay_handler():
logging.basicConfig()
logger = logging.getLogger("feedback")
logger.info("Payment delay handler started")
locale.setlocale(locale.LC_ALL, "no_NO.UTF-8")
locale.setlocale(locale.LC_ALL, "nb_NO.UTF-8")

payment_delays = PaymentDelay.objects.filter(active=True)

Expand Down

0 comments on commit 8bf9b93

Please sign in to comment.