File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 44
55### Bug Fixes
66
7+ * [ #6236 ] ( https://github.com/netbox-community/netbox/issues/6236 ) - Journal entry title should account for configured timezone
78* [ #6246 ] ( https://github.com/netbox-community/netbox/issues/6246 ) - Permit full-length descriptions when creating device components and VM interfaces
89* [ #6248 ] ( https://github.com/netbox-community/netbox/issues/6248 ) - Fix table column reconfiguration under Chrome
910* [ #6252 ] ( https://github.com/netbox-community/netbox/issues/6252 ) - Fix assignment of console port speed values above 19.2kbps
Original file line number Diff line number Diff line change @@ -431,7 +431,9 @@ class Meta:
431431 verbose_name_plural = 'journal entries'
432432
433433 def __str__ (self ):
434- return f"{ date_format (self .created )} - { time_format (self .created )} ({ self .get_kind_display ()} )"
434+ created_date = timezone .localdate (self .created )
435+ created_time = timezone .localtime (self .created )
436+ return f"{ date_format (created_date )} - { time_format (created_time )} ({ self .get_kind_display ()} )"
435437
436438 def get_absolute_url (self ):
437439 return reverse ('extras:journalentry' , args = [self .pk ])
You can’t perform that action at this time.
0 commit comments