Skip to content

Conversation

@nirvn
Copy link
Member

@nirvn nirvn commented Dec 16, 2025

Fixes #6898

@qfield-fairy
Copy link
Collaborator

qfield-fairy commented Dec 16, 2025

🍎 MacOS DMG universal builds

Download a MacOS DMG universal build of this PR for testing.
(Built from commit 17460c7)

🐧 Linux AppImage builds

Download a Linux AppImage build of this PR for testing.
(Built from commit 17460c7)

🪟 Windows builds

Download a Windows build of this PR for testing.
(Built from commit 17460c7)

@qfield-fairy
Copy link
Collaborator

qfield-fairy commented Dec 16, 2025

@nirvn nirvn force-pushed the datetime_editor_widget branch from 4a0a97a to 17460c7 Compare December 16, 2025 13:13
const textDate = Qt.formatDateTime(currentDate, !!config['field_iso_format'] ? Qt.ISODate : config['field_format']);
let dateFormat = config['display_format'] !== undefined ? config['display_format'] : '';
if (!!config['field_format_overwrite']) {
dateFormat = !!config['field_iso_format'] ? 'yyyy-MM-dd HH:mm:ss+t' : config['field_format'];
Copy link
Collaborator

@kaustuvpokharel kaustuvpokharel Dec 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nirvn in what case is this condition triggered ? Just curious

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kaustuvpokharel , explanation coming when I reach my workstation

@nirvn nirvn merged commit 4644737 into master Dec 17, 2025
26 checks passed
@nirvn nirvn deleted the datetime_editor_widget branch December 17, 2025 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Time component reset to 00:00 when setting Datetime in attribute table

4 participants