Use Qt date localization instead of translated strings

This gets us consistent date format everywhere. The reordering of month
name and day of the month didn't work correctly on Windows, anyway.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-08-03 13:02:32 -07:00
parent fc75457cc8
commit 2ad433671f
3 changed files with 8 additions and 2 deletions

1
dive.h
View file

@ -760,6 +760,7 @@ extern double strtod_flags(const char *str, const char **ptr, unsigned int flags
extern void set_save_userid_local(short value);
extern void set_userid(char *user_id);
extern const char *get_dive_date_c_string(timestamp_t when);
#ifdef __cplusplus
}
#endif