mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Send date formats to device
This commit is contained in:
parent
a7863ba70b
commit
7bf5361d58
@ -655,7 +655,10 @@ class SMART_DEVICE_APP(DeviceConfig, DevicePlugin):
|
|||||||
'validExtensions': self.ALL_FORMATS,
|
'validExtensions': self.ALL_FORMATS,
|
||||||
'passwordChallenge': challenge,
|
'passwordChallenge': challenge,
|
||||||
'currentLibraryName': self.current_library_name,
|
'currentLibraryName': self.current_library_name,
|
||||||
'currentLibraryUUID': library_uuid})
|
'currentLibraryUUID': library_uuid,
|
||||||
|
'pubdateFormat': tweaks['gui_pubdate_display_format'],
|
||||||
|
'timestampFormat': tweaks['gui_timestamp_display_format'],
|
||||||
|
'lastModifiedFormat': tweaks['gui_last_modified_display_format']})
|
||||||
if opcode != 'OK':
|
if opcode != 'OK':
|
||||||
# Something wrong with the return. Close the socket
|
# Something wrong with the return. Close the socket
|
||||||
# and continue.
|
# and continue.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user