Default for new point

John shared this question 9 hours ago
Need Answer

When I create a new point it defaults to the current date and time.

I would prefer to just default to the date, no time stamp. Is there a way to change this?

Replies (4)

photo
1

Create quick points. You can define the name yourself and then it will be assigned automatically.

photo
2

Thanks! But as far as I can tell, quick points have the same problem. I can define the name as {t}, but that gives date and time. I can't see a way to get date only.

photo
1

{t} - yeah I have the same issue - lots of times when you add a not-so-quick-point you want just the date; but maybe also in a different or more compact format, maybe without spaces or hyphens or "_at_".

for example {t} --> 2025-08-08 at 08:53

but maybe I just want 20250808

Then you have to edit the point & delete the time, delete "_at_", delete 3 hyphens. Quick?

I made a related suggestion on this @ https://help.locusmap.eu/topic/38061-display-any-other-fields-when-adding-quick-point but was declined.

BUT there is an existing mechanism, already used elsewhere in Locus for flexible date/time formatting - see settings > track recording > any-profile > track format name > Time format; and funny enough it uses the same {t} field name

be40058cfc0095e21e9bdaf945d941e59f2e0ccd2d25fc8b4a8b8eb3f0dc40b4

This same mechanism could be used as a new setting with the quick point settings when {t} is specified in the Name:

657d93b1abc1c20fb99205a973de212cef5af9140fde304062400ea73e675415

photo
1

It's obvious that the timestamp *can* be edited, because I was able to set tracks to default to date only. Just not points, quick or otherwise.

photo
1

Thanks John - sure, tracks can be saved just with date because of the template I've just mentioned

As explained I don't want to "edit"; just want it to be "quick"; a template is one flexible means that could be used for points just like tracks.

Isn't that your original question too?

photo
1

Yes, Andrew. Sorry about that, for some reason I originally didn't see the second half of your post. So yes, apparently we want the same thing and the code already exists to do it.

photo
Leave a Comment
 
Attach a file
You can't vote. Please authorize!