Commit graph

14 commits

Author SHA1 Message Date
Ivailo Monev
e297f68e33 remove redundant metatype registrations
among other things

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-03 02:51:02 +03:00
Ivailo Monev
3e2706dd71 drop the feature to change the default locale
changing the default locale can have various bad effects (such as failure
to convert localized integers stored in QString) which is why there was a
warning about it. even tho UNIX has the concept of changing the locale
settings (via setlocale()) I am not willing to support such feature
because QWidget, QValidtor, etc. have their own locale feature that can
be changed at any time

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-16 20:32:36 +02:00
Ivailo Monev
791fa550ab adjust QDateTime, QLocale and QVariant tests
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-06-18 00:27:07 +03:00
Ivailo Monev
ed83bb36c6 deal with TODO related to timezone format char
for reference:
09592d6e12

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-11-23 08:15:08 +02:00
Ivailo Monev
09592d6e12 fix parsing of timezone in date
TODO: replace timezone format char with 'Z' on next locale data update

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-09-03 01:13:45 +03:00
Ivailo Monev
426f22db6e remove optional license exception
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-02-08 15:08:15 +02:00
Ivailo Monev
bdfa9a8c84 update copyright to ease maintaince [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-02-05 06:18:50 +02:00
Ivailo Monev
58ef830341 copyright update
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-01-02 01:59:24 +02:00
Ivailo Monev
e8d4a4bf1e remove irix leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-11-22 03:40:07 +00:00
Ivailo Monev
36aaf16f82 remove deprecated Qt::DateFormat enums
indent and replace default with enum case while at it. automated
adjustments can be done with the following command:

find -type f -exec sed \
    -e 's|Qt::SystemLocaleDate|Qt::SystemLocaleShortDate|g' \
    -e 's|Qt::LocalDate|Qt::SystemLocaleShortDate|g' \
    -e 's|Qt::LocaleDate|Qt::DefaultLocaleShortDate|g' -i {} +

if you are doing it to git repository, move it out of the way as the
command may corrupt it.

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-24 21:46:21 +00:00
Ivailo Monev
5b459cf0ec update copyright and add script for doing so
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-29 23:21:34 +00:00
Ivailo Monev
b50bdfc4dc apply supposed fix for QTBUG-59159
it does not actually fix it, the tests are failing

upstream commit:
04b8db3d57

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-08-13 14:50:10 +00:00
Ivailo Monev
3c69bcc12b implement timezone date specifier parsing
upstream commit:
68f19fb630

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-08-12 16:39:18 +00:00
Ivailo Monev
f8a4b7f02d add QDate, QTime and QDateTime tests
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-08-09 19:41:55 +00:00